Project/ProjectSourcesBrowser.py

changeset 3020
542e97d4ecb3
parent 2995
63d874899b8b
child 3030
4a0a82ddd9d2
diff -r 7912530a33e2 -r 542e97d4ecb3 Project/ProjectSourcesBrowser.py
--- a/Project/ProjectSourcesBrowser.py	Mon Oct 14 18:26:25 2013 +0200
+++ b/Project/ProjectSourcesBrowser.py	Mon Oct 14 19:30:36 2013 +0200
@@ -659,7 +659,8 @@
                     try:
                         os.mkdir(packagePath)
                     except OSError as err:
-                        E5MessageBox.critical(self,
+                        E5MessageBox.critical(
+                            self,
                             self.trUtf8("Add new Python package"),
                             self.trUtf8(
                                 """<p>The package directory <b>{0}</b> could"""
@@ -673,7 +674,8 @@
                         f = open(packageFile, "w", encoding="utf-8")
                         f.close()
                     except IOError as err:
-                        E5MessageBox.critical(self,
+                        E5MessageBox.critical(
+                            self,
                             self.trUtf8("Add new Python package"),
                             self.trUtf8(
                                 """<p>The package file <b>{0}</b> could"""
@@ -897,7 +899,8 @@
             fn = itm.fileName()
         except AttributeError:
             fn = itm.dirName()
-        res = E5MessageBox.yesNo(self,
+        res = E5MessageBox.yesNo(
+            self,
             self.trUtf8("Class Diagram"),
             self.trUtf8("""Include class attributes?"""),
             yesDefault=True)
@@ -916,7 +919,8 @@
         except AttributeError:
             fn = itm.dirName()
         package = os.path.isdir(fn) and fn or os.path.dirname(fn)
-        res = E5MessageBox.yesNo(self,
+        res = E5MessageBox.yesNo(
+            self,
             self.trUtf8("Imports Diagram"),
             self.trUtf8("""Include imports from external modules?"""))
         from Graphics.UMLDialog import UMLDialog
@@ -935,7 +939,8 @@
         except AttributeError:
             fn = itm.dirName()
         package = os.path.isdir(fn) and fn or os.path.dirname(fn)
-        res = E5MessageBox.yesNo(self,
+        res = E5MessageBox.yesNo(
+            self,
             self.trUtf8("Package Diagram"),
             self.trUtf8("""Include class attributes?"""),
             yesDefault=True)
@@ -949,7 +954,8 @@
         """
         Private method to handle the application diagram context menu action.
         """
-        res = E5MessageBox.yesNo(self,
+        res = E5MessageBox.yesNo(
+            self,
             self.trUtf8("Application Diagram"),
             self.trUtf8("""Include module names?"""),
             yesDefault=True)

eric ide

mercurial