Comment 4 for bug 271155

Revision history for this message
Markus Korn (thekorn) wrote :

I think I fixed it with the attached patch (against revno 220 of the main branch),

$ ./bugnumbers -p bughelper --status "new, incOMplete,wOn'T fIx, confirmed" --importance "unDecided, WISHLIST"
226483 (New, Undecided) - bughelper crashed with NotBranchError in find_format()
129341 (New, Wishlist) - bughelper would benefit from the ability to inherit clues from a clue file not named after a package
88102 (Confirmed, Undecided) - sort report by issue type rather than bug number
239007
(Confirmed, Undecided) - clue file for bugs without a package

But for unknown status there is still a ValueError raised:
$ ./bugnumbers -p bughelper --status "booo"
Traceback (most recent call last):
  File "./bugnumbers", line 383, in <module>
    main()
  File "./bugnumbers", line 259, in main
    raise ValueError, "unknown status: %s" %x
ValueError: unknown status: set(['Booo'])

Please test and review the attached patch,
Markus