Comment 2 for bug 137278

Revision history for this message
Daniel Holbach (dholbach) wrote :

Effectively BugList represents every unique bug. So the data structure of a set() makes perfect sense. Right now using BugInfo will represent the different tasks. I agree that this is somewhat irksome and requires to not only download the buglist, but also the bug.

To fix this bug, I propose to add an attribute to bugs in the buglist named .affects -- using it in pseudo-code could look like this:

for b in buglist: if 'Ubuntu' in b.affects: ...