diff options
author | W. Trevor King <wking@drexel.edu> | 2009-06-25 09:51:41 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-06-25 09:51:41 -0400 |
commit | 5fd3c3c3afa8be4680798978e4e5fb0436fbf00c (patch) | |
tree | d7634a1caa1ac68281de1fb6ba30e9e38cbf2afc /libbe | |
parent | eeaf13d7d9c5e6fcad4689c988d4fc1806426d3f (diff) | |
download | bugseverywhere-5fd3c3c3afa8be4680798978e4e5fb0436fbf00c.tar.gz |
Added extra_strings functionality to libbe.bug.xml and be-xml-to-mbox.
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/bug.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbe/bug.py b/libbe/bug.py index 7418933..28f5253 100644 --- a/libbe/bug.py +++ b/libbe/bug.py @@ -283,7 +283,8 @@ class Bug(settings_object.SavedSettingsObject): for (k,v) in info: if v is not settings_object.EMPTY: ret += ' <%s>%s</%s>\n' % (k,xml.sax.saxutils.escape(v),k) - + for estr in self.extra_strings: + ret += ' <extra-string>%s</extra-string>\n' % estr if show_comments == True: comout = self.comment_root.xml_thread(auto_name_map=True, bug_shortname=shortname) |