summaryrefslogtreecommitdiff
path: root/python/m5/__init__.py
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2005-03-22 15:34:08 -0500
committerKevin Lim <ktlim@umich.edu>2005-03-22 15:34:08 -0500
commit2ec918362ee1235cf0d36fb7aac3e3f4ce2d4ddc (patch)
tree33a71bd50ed74ce2127de696c69ee88c9b9c5d1c /python/m5/__init__.py
parentcfa4221e19459d2179ba5601cf71a7a53753a3b1 (diff)
parent48e0b9ed4dd6f69cc41003d20bf755eeaf6fb633 (diff)
downloadgem5-2ec918362ee1235cf0d36fb7aac3e3f4ce2d4ddc.tar.xz
Merge ktlim@zizzer.eecs.umich.edu:/bk/m5
into zamp.eecs.umich.edu:/z/ktlim2/m5 --HG-- extra : convert_revision : 0c750652cc2b59946160994d53c921cb021ceef4
Diffstat (limited to 'python/m5/__init__.py')
-rw-r--r--python/m5/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/m5/__init__.py b/python/m5/__init__.py
index 16f48dba3..27bd91749 100644
--- a/python/m5/__init__.py
+++ b/python/m5/__init__.py
@@ -1,14 +1,14 @@
import sys, os
-# the mpy import code is added to the global import meta_path as a
-# side effect of this import
-from mpy_importer import AddToPath, LoadMpyFile
-
# define this here so we can use it right away if necessary
def panic(string):
print >>sys.stderr, 'panic:', string
sys.exit(1)
+# the mpy import code is added to the global import meta_path as a
+# side effect of this import
+from mpy_importer import AddToPath, LoadMpyFile
+
# find the m5 compile options: must be specified as a dict in
# __main__.m5_build_env.
import __main__