bug.sourcepackage is not 'None' if there is no package specified

Bug #150643 reported by Markus Korn
2
Affects Status Importance Assigned to Milestone
python-launchpad-bugs (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: python-launchpad-bugs

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

Revision history for this message
Jeff Anderson (jander99) wrote :

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!

Changed in python-launchpad-bugs (Ubuntu):
status: New → Incomplete
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-launchpad-bugs (Ubuntu) because there has been no activity for 60 days.]

Changed in python-launchpad-bugs (Ubuntu):
status: Incomplete → Expired
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.