Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / RANLIB / RANLIB.py
index ecc6482d033a2ecf179825de01012b11016de0cd..c9fc10fce86572568f127d06f769595e4a37c7ed 100644 (file)
@@ -25,7 +25,6 @@
 __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
 
 import os
-import string
 
 import TestSCons
 
@@ -42,11 +41,10 @@ if not ranlib:
 
 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(LIBS = ['foo'], LIBPATH = ['.'])