don't use string module

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-03-05 06:50:28 +00:00
parent 11e3c6ef36
commit 7c3f702506

View File

@@ -1,5 +1,4 @@
import os import os
import string
import subprocess import subprocess
import sys import sys
import time import time
@@ -179,7 +178,7 @@ class AutoconfBuilder(GNUMakeBuilder):
sys.stderr.write("Could not find configure script at %r. Have you run autoconf?\n" % dir) sys.stderr.write("Could not find configure script at %r. Have you run autoconf?\n" % dir)
return 1 return 1
optionsStr = string.join(options, " ") if options else "" optionsStr = " ".join(options) if options else ""
command = "%s %s" % (configure_cmd, optionsStr) command = "%s %s" % (configure_cmd, optionsStr)
print(command) print(command)
result = os.system(command) result = os.system(command)