Merge lp:~leonardr/launchpadlib/bug-714043 into lp:launchpadlib
|Rejected by:||Martin Pool on 2011-05-31|
|Diff against target:||169 lines (+59/-39) 3 files modified|
|To merge this branch:||bzr merge lp:~leonardr/launchpadlib/bug-714043|
|Related bugs and blueprints:||
Description of the Change
This branch fixes bug 71403 with two little bits of code:
1. If you call login_with() without specifying a service_root, you get 'staging', but you also get a warning. This lets you avoid mistakes in your code, but makes it obvious what you need to do if you want your changes to persist.
2. If you call login_anonymously() without specifying a service_root, you get 'production'.
Martin, let me know if you like this solution.