Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py

changeset 3037
a417a0670a36
parent 3025
67064c71df21
child 3060
5883ce99ee12
child 3160
209a07d7e401
diff -r 30c81c9e88b8 -r a417a0670a36 Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py
--- a/Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py	Sat Oct 19 15:15:50 2013 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py	Sat Oct 19 16:14:07 2013 +0200
@@ -265,13 +265,12 @@
         
         while self.process.canReadLine():
             line = str(self.process.readLine(),
-                        Preferences.getSystem("IOEncoding"),
-                        'replace')
+                       Preferences.getSystem("IOEncoding"),
+                       'replace')
             if self.summaryPath:
                 line = line.replace(self.summaryPath + '/', '')
                 line = " ".join(line.split())
-            if line.startswith("--- ") or \
-                line.startswith("+++ "):
+            if line.startswith("--- ") or line.startswith("+++ "):
                     self.__processFileLine(line)
                 
             if line.startswith('+') or line.startswith('>') or \
@@ -403,7 +402,7 @@
                 self.trUtf8(
                     '<p>The patch file <b>{0}</b> could not be saved.'
                     '<br>Reason: {1}</p>')
-                    .format(fname, str(why)))
+                .format(fname, str(why)))
         
     def on_passwordCheckBox_toggled(self, isOn):
         """

eric ide

mercurial