Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3023
34ce20603bf7
child 3060
5883ce99ee12
--- a/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py	Fri Nov 01 15:48:48 2013 +0100
@@ -109,7 +109,8 @@
         self.process.start('hg', args)
         procStarted = self.process.waitForStarted(5000)
         if not procStarted:
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8('Process Generation Error'),
                 self.trUtf8(
                     'The process {0} could not be started. '
@@ -162,9 +163,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):
@@ -426,7 +428,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