bug.sourcepackage is not 'None' if there is no package specified
Bug #150643 reported by
Markus Korn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-launchpad-bugs (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-
If I remember correctly bug.sourcepackage should return 'None' if a Task affects 'Ubuntu'
but unfortunately:
>>> b = Bug(150631)
>>> b.sourcepackage
'ubuntu'
>>>
Although it is a one-line fix (changing "Ubuntu" in html_bug.py line 217 into "ubuntu") I doubt we can not fix this because this would break existing scripts.
So take is report as a note for later changes.
Markus
To post a comment you must log in.
Thank you for helping make Ubuntu better. Unfortunately it seems this bug has not been attended to in some time. I've looked at the version of html_bug.py in Ubuntu 9.04 and see at line 226 " if s == "ubuntu": ". Its the closest instance of "ubuntu" near line 217 from your bug report. I'm setting this bug to Incomplete, but if you notice this issue in the latest release please don't hesitate to update this bug. Thanks!