diff options
Diffstat (limited to 'QMTest/TestSCons_time.py')
-rw-r--r-- | QMTest/TestSCons_time.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/QMTest/TestSCons_time.py b/QMTest/TestSCons_time.py index 0747393..f9a639e 100644 --- a/QMTest/TestSCons_time.py +++ b/QMTest/TestSCons_time.py @@ -46,7 +46,6 @@ scons_py = """\ #!/usr/bin/env python import os import sys -import string def write_args(fp, args): fp.write(args[0] + '\\n') for arg in args[1:]: @@ -59,7 +58,7 @@ for arg in sys.argv[1:]: write_args(profile, sys.argv) break sys.stdout.write('SCONS_LIB_DIR = ' + os.environ['SCONS_LIB_DIR'] + '\\n') -exec(string.replace(open('SConstruct').read(), '\\r', '\\n')) +exec(open('SConstruct', 'rU').read()) """ aegis_py = """\ |