mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
ubuntutools/lp: change default login to anonymous
If not specified, default to logging in anonymously. Signed-off-by: Dan Streetman <ddstreet@canonical.com>
This commit is contained in:
parent
61f0023c37
commit
cb865e3b86
@ -103,7 +103,7 @@ class _Launchpad(object):
|
|||||||
|
|
||||||
def __getattr__(self, attr):
|
def __getattr__(self, attr):
|
||||||
if not self.logged_in:
|
if not self.logged_in:
|
||||||
self.login()
|
self.login_anonymously()
|
||||||
return getattr(self.__lp, attr)
|
return getattr(self.__lp, attr)
|
||||||
|
|
||||||
def __call__(self):
|
def __call__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user