aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bug.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2011-05-02 18:09:58 -0400
committerW. Trevor King <wking@drexel.edu>2011-05-02 18:09:58 -0400
commitca673aa9d854375c7a8aea64f1238611ac48ac84 (patch)
tree788cbdcdc5ccd5465cbc7df6a543f2a8a724de65 /libbe/bug.py
parent1fcb1dd9114fba59a5d75570b9acc3b87d575821 (diff)
downloadbugseverywhere-ca673aa9d854375c7a8aea64f1238611ac48ac84.tar.gz
Add extra strings to Bug.string() output.
Diffstat (limited to 'libbe/bug.py')
-rw-r--r--libbe/bug.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbe/bug.py b/libbe/bug.py
index 6421cbc..8b4b130 100644
--- 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')