login_with(): Please support optional credentials_file argument
Bug #485797 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Fix Released
|
Undecided
|
Unassigned | ||
python-launchpadlib (Ubuntu) |
Fix Released
|
Wishlist
|
Martin Pitt |
Bug Description
Thanks for login_with(), it potentially removes so much redundant code.
However, to support existing configurations I would like to be able to specify cache dir and credentials path separately. A lot of people already have a ~/.cache/
For this, login_with needs a new optional argument "credentials_file".
Related branches
lp:~pitti/launchpadlib/login_with-credentials_file
Merged
into
lp:launchpadlib
- Gavin Panella: Approve
-
Diff: 95 lines (+39/-13)2 files modifiedsrc/launchpadlib/launchpad.py (+17/-13)
src/launchpadlib/tests/test_launchpad.py (+22/-0)
Changed in launchpadlib: | |
assignee: | Martin Pitt (pitti) → nobody |
Changed in launchpadlib: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I will apply this to the Ubuntu package once it's accepted upstream, to greatly simplify the apport code.