> if you look at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=937796 the
> 'Done' header mentions who closed this bug, but that information is not 
> exposed
> in debianbts:

it could be as simple as this:

diff --git a/debianbts/debianbts.py b/debianbts/debianbts.py
index 3393c69..4a05bac 100644
--- a/debianbts/debianbts.py
+++ b/debianbts/debianbts.py
@@ -417,6 +417,7 @@ def _parse_status(bug_el):
    bug.log_modified = datetime.utcfromtimestamp(float(bug_el('log_modified')))
    bug.tags = [_uc(tag) for tag in str(bug_el('tags')).split()]
    bug.done = _parse_bool(bug_el('done'))
+    bug.done_by = bug_el('done') if bug.done else None
    bug.archived = _parse_bool(bug_el('archived'))
    bug.unarchived = _parse_bool(bug_el('unarchived'))
    bug.bug_num = int(bug_el('bug_num'))


-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi

Reply via email to