install.py

changeset 2969
0e1af1313b8b
parent 2965
d133c7edd88a
child 2992
dbdf27746da5
--- a/install.py	Sun Sep 29 19:12:52 2013 +0200
+++ b/install.py	Sun Sep 29 19:24:27 2013 +0200
@@ -917,15 +917,15 @@
 def compileUiFiles():
     """
     Compile the .ui files to Python sources.
-    """
+    """                                                 # __IGNORE_WARNING__
     global sourceDir
     try:
         from PyQt4.uic import compileUiDir
     except ImportError:
         from PyQt4.uic import compileUi
         
-        def compileUiDir(dir, recurse = False, map = None,  # __IGNORE_WARNING__
-            ** compileUi_args):
+        def compileUiDir(dir, recurse=False,            # __IGNORE_WARNING__
+                         map=None, **compileUi_args):
             """
             Creates Python modules from Qt Designer .ui files in a directory or
             directory tree.
@@ -1059,8 +1059,8 @@
             try:
                 exec(compile(open(arg).read(), arg, 'exec'), globals())
                 if len(cfg) != configLength:
-                    print("The configuration dictionary in '{0}' is incorrect. Aborting"\
-                        .format(arg))
+                    print("The configuration dictionary in '{0}' is incorrect."
+                          " Aborting".format(arg))
                     exit(6)
             except:
                 cfg = {}
@@ -1158,7 +1158,8 @@
     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