Graphics/UMLDialog.py

changeset 3020
542e97d4ecb3
parent 2997
7f0ef975da9e
child 3022
57179e4cdadd
--- a/Graphics/UMLDialog.py	Mon Oct 14 18:26:25 2013 +0200
+++ b/Graphics/UMLDialog.py	Mon Oct 14 19:30:36 2013 +0200
@@ -230,7 +230,8 @@
                 if ex:
                     fname += ex
             if QFileInfo(fname).exists():
-                res = E5MessageBox.yesNo(self,
+                res = E5MessageBox.yesNo(
+                    self,
                     self.trUtf8("Save Diagram"),
                     self.trUtf8("<p>The file <b>{0}</b> already exists."
                                 " Overwrite it?</p>").format(fname),
@@ -256,7 +257,8 @@
             f.write("\n".join(lines))
             f.close()
         except (IOError, OSError) as err:
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8("Save Diagram"),
                 self.trUtf8(
                     """<p>The file <b>{0}</b> could not be saved.</p>"""
@@ -285,7 +287,8 @@
             data = f.read()
             f.close()
         except (IOError, OSError) as err:
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8("Load Diagram"),
                 self.trUtf8(
                     """<p>The file <b>{0}</b> could not be read.</p>"""

eric ide

mercurial