diff options
author | Nathan Binkert <nate@binkert.org> | 2011-04-19 11:13:01 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-04-19 11:13:01 -0700 |
commit | 615c5e0eaa8318528cdada0a9008c02b1d741ee1 (patch) | |
tree | c8513462d4d136a97ad96037537dcfdc65b372bf | |
parent | ddb0f1bca015147cd1315f4abfa02c908e77da7f (diff) | |
download | gem5-615c5e0eaa8318528cdada0a9008c02b1d741ee1.tar.xz |
python: different import for dealing with demandimport
-rw-r--r-- | src/python/m5/__init__.py | 4 |
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 |