On 2013-05-15 20:51, Don Armstrong wrote:
> You want archive => 'both' if you want to retrieve archived bugs in
> addition to non-archived bugs.
Thanks for that hint!
Now I'm stuck with the next bug that does not get found: #662897
>>> import debianbts
>>> bugs = debianbts.get_usertag("[email protected]",
>>> 'piuparts')['piuparts']
>>> 662897 in bugs
True
>>> debianbts.get_bugs('package', 'gforge-web-apache2-vhosts', 'bugs',
>>> bugs,'archive','both')
[]
>>> debianbts.get_bugs('affects', 'gforge-web-apache2-vhosts', 'bugs',
>>> bugs,'archive','both')
[]
>>> print debianbts.get_status((662897,))[0]
fixed_versions: [u'fusionforge/5.1.1-3']
blockedby: []
done: True
unarchived: True
owner:
subject: gforge-web-apache2-vhosts: fails to purge - command fusionforge-config
in postrm not found
archived: True
forwarded:
bug_num: 662897
msgid: <[email protected]>
source: fusionforge
location: archive
pending: done
originator: Andreas Beckmann <[email protected]>
blocks: []
tags: []
date: 2012-03-07 04:54:01
mergedwith: []
severity: important
package: gforge-web-apache2-vhosts
summary:
log_modified: 2013-03-31 07:30:54
found_versions: [u'fusionforge/5.0.2-5', u'wheezy/None',
u'fusionforge/5.0.2-5+squeeze1', u'fusionforge/5.0.2-5+squeeze2',
u'fusionforge/5.1.1-2']
affects: [u'g', u'f', u'o', u'r', u'g', u'e', u'-', u'w', u'e', u'b', u'-',
u'a', u'p', u'a', u'c', u'h', u'e', u'2', u'-', u'v', u'h', u'o', u's', u't',
u's']
I'm pretty sure that bug should be found ...
The affects return value looks broken, but IIRC I already filed a bug for this
...
Andreas
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]