Merge lp:~leonardr/launchpadlib/multiversion-fix into lp:launchpadlib
Proposed by
Leonard Richardson
Status: | Merged |
---|---|
Approved by: | Muharem Hrnjadovic |
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) | Approve | ||
Review via email: mp+20585@code.launchpad.net |
To post a comment you must log in.
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.