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

** Attachment added: "271155.diff"
   http://launchpadlibrarian.net/17698104/271155.diff

-- 
[interpid] [bitesize] bugnumbers crashed with ValueError in main()
https://bugs.launchpad.net/bugs/271155
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to