compileUiFiles.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
diff -r b0996e4a289e -r 1d8dd9706f46 compileUiFiles.py
--- a/compileUiFiles.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/compileUiFiles.py	Sat Jan 02 15:11:35 2010 +0000
@@ -54,7 +54,7 @@
                     # Allow the caller to change the name of the .py file or generate
                     # it in a different directory.
                     if map is not None:
-                        py_dir, py_file = map(py_dir, py_file)
+                        py_dir, py_file = list(map(py_dir, py_file))
 
                     # Make sure the destination directory exists.
                     try:
@@ -102,7 +102,7 @@
     @param argv the list of command line arguments.
     """
     # Compile .ui files
-    print "Compiling user interface files..."
+    print("Compiling user interface files...")
     compileUiFiles()
     
     
@@ -112,8 +112,7 @@
     except SystemExit:
         raise
     except:
-        print \
-"""An internal error occured.  Please report all the output of the program,
+        print("""An internal error occured.  Please report all the output of the program,
 including the following traceback, to eric5-bugs@eric-ide.python-projects.org.
-"""
+""")
         raise

eric ide

mercurial