Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py

changeset 3020
542e97d4ecb3
parent 3009
bf5ae5d7477d
child 3025
67064c71df21
--- a/Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py	Mon Oct 14 18:26:25 2013 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py	Mon Oct 14 19:30:36 2013 +0200
@@ -174,7 +174,8 @@
         if not procStarted:
             self.inputGroup.setEnabled(False)
             self.inputGroup.hide()
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8('Process Generation Error'),
                 self.trUtf8(
                     'The process {0} could not be started. '
@@ -381,7 +382,8 @@
             if ex:
                 fname += ex
         if QFileInfo(fname).exists():
-            res = E5MessageBox.yesNo(self,
+            res = E5MessageBox.yesNo(
+                self,
                 self.trUtf8("Save Diff"),
                 self.trUtf8("<p>The patch file <b>{0}</b> already exists."
                             " Overwrite it?</p>").format(fname),
@@ -396,7 +398,8 @@
             f.write(eol.join(self.contents.toPlainText().splitlines()))
             f.close()
         except IOError as why:
-            E5MessageBox.critical(self, self.trUtf8('Save Diff'),
+            E5MessageBox.critical(
+                self, self.trUtf8('Save Diff'),
                 self.trUtf8('<p>The patch file <b>{0}</b> could not be saved.'
                     '<br>Reason: {1}</p>')
                     .format(fname, str(why)))

eric ide

mercurial