]> git.saurik.com Git - wxWidgets.git/blobdiff - build/tools/builder.py
Changes to allow these build scripts to use python3
[wxWidgets.git] / build / tools / builder.py
index 484e274f573b566d19ef9a1d448ef409cda69673..a61ca3d2b28fad226021feb770ba335a13bbc8cb 100755 (executable)
@@ -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