Plugins/VcsPlugins/vcsPySvn/SvnBlameDialog.py

changeset 424
d0915392cbd7
parent 176
ff52b55a90fb
child 791
9ec2ac20e54e
equal deleted inserted replaced
422:dd7c1558b1df 424:d0915392cbd7
119 @param author author of the change (string) 119 @param author author of the change (string)
120 @param lineno linenumber (string) 120 @param lineno linenumber (string)
121 @param text line of text from the annotated file (string) 121 @param text line of text from the annotated file (string)
122 """ 122 """
123 itm = QTreeWidgetItem(self.blameList, 123 itm = QTreeWidgetItem(self.blameList,
124 ["%d" % revision, author, "%d" % lineno, text]) 124 ["{0:d}".format(revision), author, "{0:d}".format(lineno), text])
125 itm.setTextAlignment(0, Qt.AlignRight) 125 itm.setTextAlignment(0, Qt.AlignRight)
126 itm.setTextAlignment(2, Qt.AlignRight) 126 itm.setTextAlignment(2, Qt.AlignRight)
127 127
128 def __showError(self, msg): 128 def __showError(self, msg):
129 """ 129 """

eric ide

mercurial