diff options
author | W. Trevor King <wking@drexel.edu> | 2011-05-02 18:09:58 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2011-05-02 18:09:58 -0400 |
commit | ca673aa9d854375c7a8aea64f1238611ac48ac84 (patch) | |
tree | 788cbdcdc5ccd5465cbc7df6a543f2a8a724de65 /libbe/bug.py | |
parent | 1fcb1dd9114fba59a5d75570b9acc3b87d575821 (diff) | |
download | bugseverywhere-ca673aa9d854375c7a8aea64f1238611ac48ac84.tar.gz |
Add extra strings to Bug.string() output.
Diffstat (limited to 'libbe/bug.py')
-rw-r--r-- | libbe/bug.py | 2 |
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') |