Plugins/VcsPlugins/vcsPySvn/SvnDiffDialog.py

changeset 3020
542e97d4ecb3
parent 3009
bf5ae5d7477d
child 3024
17c01303a239
--- a/Plugins/VcsPlugins/vcsPySvn/SvnDiffDialog.py	Mon Oct 14 18:26:25 2013 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnDiffDialog.py	Mon Oct 14 19:30:36 2013 +0200
@@ -158,7 +158,8 @@
         elif os.path.exists('/tmp'):
             tmpdir = '/tmp'
         else:
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8("Subversion Diff"),
                 self.trUtf8("""There is no temporary directory available."""))
             return
@@ -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