Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py

changeset 3020
542e97d4ecb3
parent 3008
7848489bcb92
child 3023
34ce20603bf7
--- a/Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py	Mon Oct 14 18:26:25 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py	Mon Oct 14 19:30:36 2013 +0200
@@ -192,7 +192,8 @@
                 QApplication.restoreOverrideCursor()
                 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. '
@@ -419,7 +420,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),
@@ -434,7 +436,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