Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py

changeset 417
459855d3066e
parent 221
38689444e922
child 464
a2b1d1770ef0
equal deleted inserted replaced
416:9ca4a5979826 417:459855d3066e
175 @param author author of the change (string) 175 @param author author of the change (string)
176 @param date date of the tag (string) 176 @param date date of the tag (string)
177 @param name name (path) of the tag (string) 177 @param name name (path) of the tag (string)
178 """ 178 """
179 itm = QTreeWidgetItem(self.annotateList, 179 itm = QTreeWidgetItem(self.annotateList,
180 [revision, changeset, author, date, "%d" % self.lineno, text]) 180 [revision, changeset, author, date, "{0:d}".format(self.lineno), text])
181 self.lineno += 1 181 self.lineno += 1
182 itm.setTextAlignment(0, Qt.AlignRight) 182 itm.setTextAlignment(0, Qt.AlignRight)
183 itm.setTextAlignment(4, Qt.AlignRight) 183 itm.setTextAlignment(4, Qt.AlignRight)
184 184
185 def __readStdout(self): 185 def __readStdout(self):

eric ide

mercurial