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 """ |