Launchpad.load doesn't like relative urls

Bug #524775 reported by Robert Collins
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazr.restfulclient
Fix Released
Low
Unassigned

Bug Description

 affects launchpad
 done

Doing 'lp.load("bzrlib/trunk")' would be really nice and less prone to
breakage when the api version freezes.

This worked for me:
lp.load(str(lp._root_uri) + "bzrlib/trunk")

So it looks like it should be really easy to support ;)

-Rob

affects: launchpad → launchpad-foundations
affects: launchpad-foundations → launchpadlib
Gary Poster (gary)
Changed in launchpadlib:
status: New → Triaged
importance: Undecided → Low
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → High
milestone: none → 10.04
importance: High → Low
Revision history for this message
Leonard Richardson (leonardr) wrote :

While making sure existing launchpadlib apps would work with version 1.0 of the web service, I noticed that this is a big problem in (eg.) ubuntu-qa-tools scripts.

Revision history for this message
Brian Murray (brian-murray) wrote :

Is there something the maintainers of the ubuntu-qa-tools should know?

Revision history for this message
Gary Poster (gary) wrote :

Let's try to get this done next week in some quick branches along with #562626

affects: launchpadlib → lazr.restfulclient
Revision history for this message
Leonard Richardson (leonardr) wrote :

Fix released in lazr.restfulclient 0.9.20.

Changed in lazr.restfulclient:
status: Triaged → Fix Released
William Grant (wgrant)
no longer affects: launchpad
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.