Merge lp:~leonardr/ubuntu-qa-tools/fix-api-usage into lp:ubuntu-qa-tools
Proposed by
Leonard Richardson
on 2010-03-31
| Status: | Merged |
|---|---|
| Merged at revision: | not available |
| Proposed branch: | lp:~leonardr/ubuntu-qa-tools/fix-api-usage |
| Merge into: | lp:ubuntu-qa-tools |
| Diff against target: |
104 lines (+10/-9) 6 files modified
bug-report-framework/bugs-since-sometime.py (+1/-1) bugs-mailinglist/ml-fixes-report (+2/-2) bugs-mailinglist/ml-team-fixes-report (+2/-2) launchpadlib-scripts/bugsquad-membership.py (+1/-1) launchpadlib-scripts/packages-without-subscribers.py (+3/-2) responses/security/unlinkcves (+1/-1) |
| To merge this branch: | bzr merge lp:~leonardr/ubuntu-qa-tools/fix-api-usage |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ara Pulido | 2010-03-31 | Needs Information on 2010-03-31 | |
|
Review via email:
|
|||
Description of the Change
Hi,
This branch removes the assumption in several scripts that the user is using the 'beta' version of the Launchpad web service. This will make it possible to use the scripts against the new '1.0' version. In several places it incorporates a workaround for bug 524775.
Leonard
To post a comment you must log in.
lp:~leonardr/ubuntu-qa-tools/fix-api-usage
updated
on 2010-03-31
- 322. By Leonard Richardson on 2010-03-31
-
Use str(root_uri) instead of root_uri itself.
| Leonard Richardson (leonardr) wrote : | # |
Good catch. I've fixed all instances of the problem and tested bugs-since-sometime myself.

Running one of your modified scripts I got the following error:
./bugs- since-sometime. py 3 since-sometime. py", line 57, in <module> load(launchpad. _root_uri + 'ubuntu/ +archive/ primary' )
Traceback (most recent call last):
File "./bugs-
primary = launchpad.
TypeError: unsupported operand type(s) for +: 'URI' and 'str'