Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
--- a/Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py	Fri Mar 11 16:51:57 2011 +0100
@@ -20,11 +20,12 @@
 import Preferences
 import Utilities
 
+
 class HgAnnotateDialog(QDialog, Ui_HgAnnotateDialog):
     """
     Class implementing a dialog to show the output of the hg annotate command.
     """
-    def __init__(self, vcs, parent = None):
+    def __init__(self, vcs, parent=None):
         """
         Constructor
         
@@ -175,7 +176,7 @@
         @param date date of the tag (string)
         @param name name (path) of the tag (string)
         """
-        itm = QTreeWidgetItem(self.annotateList, 
+        itm = QTreeWidgetItem(self.annotateList,
             [revision, changeset, author, date, "{0:d}".format(self.lineno), text])
         self.lineno += 1
         itm.setTextAlignment(0, Qt.AlignRight)
@@ -209,8 +210,8 @@
         """
         if self.process is not None:
             self.errorGroup.show()
-            s = str(self.process.readAllStandardError(), 
-                    Preferences.getSystem("IOEncoding"), 
+            s = str(self.process.readAllStandardError(),
+                    Preferences.getSystem("IOEncoding"),
                     'replace')
             self.errors.insertPlainText(s)
             self.errors.ensureCursorVisible()

eric ide

mercurial