summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/python/m5/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/m5/__init__.py b/src/python/m5/__init__.py
index e152cf021..930609b6b 100644
--- a/src/python/m5/__init__.py
+++ b/src/python/m5/__init__.py
@@ -32,10 +32,10 @@
try:
# Try to import something that's generated by swig
- import internal.core
+ import internal
# Try to grab something from it in case demandimport is being used
- internal.core.__package__
+ internal.core.curTick
except ImportError:
# The import failed
internal = None