[text-branch] ValueError: list.index(x): x not in list

Bug #181149 reported by Brian Murray
2
Affects Status Importance Assigned to Milestone
Bug Helper
Fix Released
Undecided
Unassigned

Bug Description

I was testing the text branch via './bugnumbers -p inkscape --status "Fix Committed" --sort importance --format numbers' and received the following traceback:

Traceback (most recent call last):
  File "./bugnumbers", line 257, in <module>
    main()
  File "./bugnumbers", line 237, in main
    x = bl.sort(cl.options.sort)
  File "/home/theman/source_trees/bughelper.text/launchpadbugs/buglistbase.py", line 130, in sort
    return sorted(self, cmp=lambda x,y: sort(x,y,optsort.strip("-")), reverse=optsort.startswith("-"))
  File "/home/theman/source_trees/bughelper.text/launchpadbugs/buglistbase.py", line 130, in <lambda>
    return sorted(self, cmp=lambda x,y: sort(x,y,optsort.strip("-")), reverse=optsort.startswith("-"))
  File "/home/theman/source_trees/bughelper.text/launchpadbugs/lphelper.py", line 13, in sort
    return cmp(importance.index(getattr(x,sort)), importance.index(getattr(y,sort)))
ValueError: list.index(x): x not in list

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

Fixed in text.dev rev 221.

Markus

Changed in bughelper:
status: New → Fix Committed
Revision history for this message
Markus Korn (thekorn) wrote :

fixed released in hardy (version 0.2.12)

Changed in bughelper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.