changeset ac1bd3d1aa54 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=ac1bd3d1aa54
description:
        Configs: Explicitly import env in Benchmarks.py

        env was being implicitly imported into Benchmarks.py through 
SysPaths.py.
        This change brings it in explicitly in the file where it's used.

diffstat:

 configs/common/Benchmarks.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 3be28ebdb07f -r ac1bd3d1aa54 configs/common/Benchmarks.py
--- a/configs/common/Benchmarks.py      Wed Feb 23 16:41:59 2011 -0800
+++ b/configs/common/Benchmarks.py      Thu Feb 24 02:14:45 2011 -0800
@@ -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:
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to