Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py

changeset 3023
34ce20603bf7
parent 3020
542e97d4ecb3
child 3034
7ce719013078
child 3058
0a02c433f52d
--- a/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py	Tue Oct 15 18:29:32 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py	Tue Oct 15 18:54:53 2013 +0200
@@ -157,9 +157,10 @@
             self.process.setReadChannel(QProcess.StandardOutput)
             
             while self.process.canReadLine():
-                line = str(self.process.readLine(),
-                        Preferences.getSystem("IOEncoding"),
-                        'replace')
+                line = str(
+                    self.process.readLine(),
+                    Preferences.getSystem("IOEncoding"),
+                    'replace')
                 self.__buffer.append(line)
     
     def __readStderr(self):
@@ -421,7 +422,7 @@
                         l.append(self.trUtf8("1 or more incoming"))
                     if infoDict["remote"][1]:
                         l.append(self.trUtf8("{0} outgoing")\
-                            .format(infoDict["remote"][1]))
+                                 .format(infoDict["remote"][1]))
                     if infoDict["remote"][2]:
                         l.append(self.trUtf8("%n incoming bookmark(s)", "",
                                  infoDict["remote"][2]))

eric ide

mercurial