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:
Dan Streetman 2020-06-15 19:08:18 -04:00
parent 61f0023c37
commit cb865e3b86

View File

@ -103,7 +103,7 @@ class _Launchpad(object):
def __getattr__(self, attr):
if not self.logged_in:
self.login()
self.login_anonymously()
return getattr(self.__lp, attr)
def __call__(self):