From cb865e3b86f02d4197d0cf40213cf1e7d510116a Mon Sep 17 00:00:00 2001 From: Dan Streetman Date: Mon, 15 Jun 2020 19:08:18 -0400 Subject: [PATCH] ubuntutools/lp: change default login to anonymous If not specified, default to logging in anonymously. Signed-off-by: Dan Streetman --- ubuntutools/lp/lpapicache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntutools/lp/lpapicache.py b/ubuntutools/lp/lpapicache.py index f564a01..9e5a4ee 100644 --- a/ubuntutools/lp/lpapicache.py +++ b/ubuntutools/lp/lpapicache.py @@ -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):