Skip to content

Commit

Permalink
pyopae: fix extension module import statements (#2541) (#2542)
Browse files Browse the repository at this point in the history
Add IFC_DFL, IFC_VFIO, and IFC_SIM to exports.

Signed-off-by: Tim Whisonant <tim.whisonant@intel.com>
  • Loading branch information
tswhison committed Mar 30, 2022
1 parent a3f5e50 commit f6fbd74
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions libraries/pyopae/opae/fpga/__init__.py
@@ -1,4 +1,4 @@
from _opae import (
from ._opae import (
properties,
token,
handle,
Expand All @@ -14,9 +14,10 @@
version,
build,
memory_barrier)
from _opae import (DEVICE, ACCELERATOR, OPEN_SHARED, EVENT_ERROR,
from ._opae import (DEVICE, ACCELERATOR, OPEN_SHARED, EVENT_ERROR,
EVENT_INTERRUPT, EVENT_POWER_THERMAL, ACCELERATOR_ASSIGNED,
ACCELERATOR_UNASSIGNED, RECONF_FORCE, SYSOBJECT_GLOB)
ACCELERATOR_UNASSIGNED, RECONF_FORCE, SYSOBJECT_GLOB,
IFC_DFL, IFC_VFIO, IFC_SIM)
__all__ = ['properties',
'token',
'handle',
Expand All @@ -41,5 +42,8 @@
'ACCELERATOR_ASSIGNED',
'ACCELERATOR_UNASSIGNED',
'RECONF_FORCE',
'SYSOBJECT_GLOB'
'SYSOBJECT_GLOB',
'IFC_DFL',
'IFC_VFIO',
'IFC_SIM'
]

0 comments on commit f6fbd74

Please sign in to comment.