X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=test%2FFortran%2FF95FLAGS.py;h=de188585244c33caec450ffb54a6d77a7bc3c6dd;hb=11e8e47454040247b5524a7d00358eb767e7c3c0;hp=86fd9f545bdbbb3acf9feaec674637c79f84a61c;hpb=ff2f192f190b04db6217f19135fd7673b4a0abb8;p=scons.git diff --git a/test/Fortran/F95FLAGS.py b/test/Fortran/F95FLAGS.py index 86fd9f54..de188585 100644 --- a/test/Fortran/F95FLAGS.py +++ b/test/Fortran/F95FLAGS.py @@ -24,8 +24,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" -import string - import TestSCons from common import write_fake_link @@ -109,11 +107,10 @@ if g95: test.write("wrapper.py", """import os -import string import sys open('%s', 'wb').write("wrapper.py\\n") -os.system(string.join(sys.argv[1:], " ")) -""" % string.replace(test.workpath('wrapper.out'), '\\', '\\\\')) +os.system(" ".join(sys.argv[1:])) +""" % test.workpath('wrapper.out').replace('\\', '\\\\')) test.write('SConstruct', """ foo = Environment(F95 = '%(fc)s')