projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fcb1dd
)
Add extra strings to Bug.string() output.
author
W. Trevor King
<wking@drexel.edu>
Mon, 2 May 2011 22:09:58 +0000
(18:09 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Mon, 2 May 2011 22:09:58 +0000
(18:09 -0400)
libbe/bug.py
patch
|
blob
|
history
diff --git
a/libbe/bug.py
b/libbe/bug.py
index 6421cbcb6e5940e3580d5da5d0b5ade88ef1941a..8b4b13064b06d547870cecd23d0d7f69b70e1d90 100644
(file)
--- a/
libbe/bug.py
+++ b/
libbe/bug.py
@@
-285,6
+285,8
@@
class Bug (settings_object.SavedSettingsObject):
("Reporter", self._setting_attr_string("reporter")),
("Creator", self._setting_attr_string("creator")),
("Created", timestring)]
+ for estr in self.extra_strings:
+ info.append(('Extra string', estr))
longest_key_len = max([len(k) for k,v in info])
infolines = [" %*s : %s\n" %(longest_key_len,k,v) for k,v in info]
bugout = "".join(infolines) + "%s" % self.summary.rstrip('\n')