Plugins/VcsPlugins/vcsSubversion/SvnBlameDialog.py

changeset 425
ca5e65413fc5
parent 176
ff52b55a90fb
child 464
a2b1d1770ef0
equal deleted inserted replaced
424:d0915392cbd7 425:ca5e65413fc5
156 @param revision revision string (string) 156 @param revision revision string (string)
157 @param author author of the change (string) 157 @param author author of the change (string)
158 @param text line of text from the annotated file (string) 158 @param text line of text from the annotated file (string)
159 """ 159 """
160 itm = QTreeWidgetItem(self.blameList, 160 itm = QTreeWidgetItem(self.blameList,
161 [revision, author, "%d" % self.lineno, text]) 161 [revision, author, "{0:d}".format(self.lineno), text])
162 self.lineno += 1 162 self.lineno += 1
163 itm.setTextAlignment(0, Qt.AlignRight) 163 itm.setTextAlignment(0, Qt.AlignRight)
164 itm.setTextAlignment(2, Qt.AlignRight) 164 itm.setTextAlignment(2, Qt.AlignRight)
165 165
166 def __readStdout(self): 166 def __readStdout(self):

eric ide

mercurial