projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddb0f1b
)
python: different import for dealing with demandimport
author
Nathan Binkert
<nate@binkert.org>
Tue, 19 Apr 2011 18:13:01 +0000
(11:13 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Tue, 19 Apr 2011 18:13:01 +0000
(11:13 -0700)
src/python/m5/__init__.py
patch
|
blob
|
history
diff --git
a/src/python/m5/__init__.py
b/src/python/m5/__init__.py
index e152cf021cee347a0fd34dc438e9d9e031da76f2..930609b6b95abe77ac993b4419b19169d6c7d8df 100644
(file)
--- 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