Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3037
a417a0670a36
child 3145
a9de05d4a22f
--- a/Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py	Sun Nov 03 15:58:22 2013 +0100
@@ -271,13 +271,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 \
@@ -409,7 +408,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