Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py

changeset 3023
34ce20603bf7
parent 3020
542e97d4ecb3
child 3034
7ce719013078
child 3058
0a02c433f52d
--- a/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py	Tue Oct 15 18:29:32 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py	Tue Oct 15 18:54:53 2013 +0200
@@ -132,7 +132,8 @@
         """
         Private method to resort the tree.
         """
-        self.statusList.sortItems(self.statusList.sortColumn(),
+        self.statusList.sortItems(
+            self.statusList.sortColumn(),
             self.statusList.header().sortIndicatorOrder())
     
     def __resizeColumns(self):
@@ -358,9 +359,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.__processOutputLine(line)
     
     def __processOutputLine(self, line):

eric ide

mercurial