compileUiFiles.py

changeset 428
58405c24aa09
parent 15
f6ccc31d6e72
child 723
49ef401db2ce
--- a/compileUiFiles.py	Thu Jul 29 08:50:45 2010 +0200
+++ b/compileUiFiles.py	Thu Jul 29 11:02:09 2010 +0200
@@ -91,7 +91,7 @@
         @param py_file suggested name for the compile source file (string)
         @return tuple of directory name (string) and source file name (string)
         """
-        return py_dir, "Ui_%s" % py_file
+        return py_dir, "Ui_{0}".format(py_file)
     
     compileUiDir(".", True, pyName)
 
@@ -115,4 +115,4 @@
         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
\ No newline at end of file
+        raise

eric ide

mercurial