summaryrefslogtreecommitdiffstats
path: root/test/AS/ml.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/AS/ml.py')
-rw-r--r--test/AS/ml.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/AS/ml.py b/test/AS/ml.py
index a731efb..9491e36 100644
--- a/test/AS/ml.py
+++ b/test/AS/ml.py
@@ -28,7 +28,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Verify correct use of the live 'ml' assembler.
"""
-import string
import sys
import TestSCons
@@ -48,11 +47,10 @@ if not ml:
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', """
import os