UI/DiffDialog.py

changeset 3030
4a0a82ddd9d2
parent 3020
542e97d4ecb3
child 3039
8dd0165d805d
child 3058
0a02c433f52d
--- a/UI/DiffDialog.py	Fri Oct 18 18:00:02 2013 +0200
+++ b/UI/DiffDialog.py	Fri Oct 18 18:42:10 2013 +0200
@@ -399,7 +399,7 @@
         self.contents.insertPlainText(txt)
         
     def __generateUnifiedDiff(self, a, b, fromfile, tofile,
-                            fromfiledate, tofiledate):
+                              fromfiledate, tofiledate):
         """
         Private slot to generate a unified diff output.
         
@@ -412,7 +412,7 @@
         """
         paras = 0
         for line in unified_diff(a, b, fromfile, tofile,
-                            fromfiledate, tofiledate):
+                                 fromfiledate, tofiledate):
             if line.startswith('+') or line.startswith('>'):
                 format = self.cAddedFormat
             elif line.startswith('-') or line.startswith('<'):
@@ -431,7 +431,7 @@
                 self.trUtf8('There is no difference.'), self.cNormalFormat)
 
     def __generateContextDiff(self, a, b, fromfile, tofile,
-                            fromfiledate, tofiledate):
+                              fromfiledate, tofiledate):
         """
         Private slot to generate a context diff output.
         
@@ -444,7 +444,7 @@
         """
         paras = 0
         for line in context_diff(a, b, fromfile, tofile,
-                            fromfiledate, tofiledate):
+                                 fromfiledate, tofiledate):
             if line.startswith('+ '):
                 format = self.cAddedFormat
             elif line.startswith('- '):

eric ide

mercurial