Changes to allow these build scripts to use python3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -18,7 +18,7 @@ def runInDir(command, dir=None, verbose=True):
|
||||
|
||||
commandStr = " ".join(command)
|
||||
if verbose:
|
||||
print commandStr
|
||||
print(commandStr)
|
||||
result = os.system(commandStr)
|
||||
|
||||
if dir:
|
||||
@@ -181,7 +181,7 @@ class AutoconfBuilder(GNUMakeBuilder):
|
||||
|
||||
optionsStr = string.join(options, " ") if options else ""
|
||||
command = "%s %s" % (configure_cmd, optionsStr)
|
||||
print command
|
||||
print(command)
|
||||
result = os.system(command)
|
||||
#os.chdir(olddir)
|
||||
return result
|
||||
|
Reference in New Issue
Block a user