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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user