Configs: Explicitly import env in Benchmarks.py
authorGabe Black <gblack@eecs.umich.edu>
Thu, 24 Feb 2011 10:14:45 +0000 (02:14 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 24 Feb 2011 10:14:45 +0000 (02:14 -0800)
env was being implicitly imported into Benchmarks.py through SysPaths.py.
This change brings it in explicitly in the file where it's used.

configs/common/Benchmarks.py

index d1c69d3f8cef0a1313c0237e41fedbf71f58e282..366152d62b6bde3d8e3c35f4200de19bab6ffa79 100644 (file)
@@ -26,7 +26,8 @@
 #
 # Authors: Ali Saidi
 
-from SysPaths import *
+from SysPaths import script, disk, binary
+from os import environ as env
 from m5.defines import buildEnv
 
 class SysConfig: