Merge lp:~leonardr/launchpadlib/multiversion-fix into lp:launchpadlib
Proposed by
Leonard Richardson
on 2010-03-03
| Status: | Merged |
|---|---|
| Approved by: | Muharem Hrnjadovic on 2010-03-04 |
| Approved revision: | 84 |
| Merged at revision: | not available |
| Proposed branch: | lp:~leonardr/launchpadlib/multiversion-fix |
| Merge into: | lp:launchpadlib |
| Diff against target: |
94 lines (+36/-4) 4 files modified
src/launchpadlib/NEWS.txt (+12/-0) src/launchpadlib/__init__.py (+1/-1) src/launchpadlib/launchpad.py (+1/-1) src/launchpadlib/tests/test_launchpad.py (+22/-2) |
| To merge this branch: | bzr merge lp:~leonardr/launchpadlib/multiversion-fix |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Muharem Hrnjadovic (community) | 2010-03-03 | Approve on 2010-03-04 | |
|
Review via email:
|
|||
To post a comment you must log in.
| Leonard Richardson (leonardr) wrote : | # |

This branch fixes a very small bug in launchpadlib. There are two code paths in login_with() depending on whether the credentials were loaded from a file. The 'version' argument to login_with() was only being propagated in one of those code paths. So if your credentials were loaded from a file, you would always access the 'beta' version of the Launchpad web service, no matter what you'd requested.