jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/551866 )
Change subject: [bugfix] call LoginManager with keyword arguments ......................................................................
[bugfix] call LoginManager with keyword arguments
Bug: T237501 Change-Id: I498b581aa92e3121ee5d13d19ee93eed66663697 --- M pywikibot/login.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/login.py b/pywikibot/login.py index 389ac12..5d0f51c 100644 --- a/pywikibot/login.py +++ b/pywikibot/login.py @@ -377,7 +377,8 @@ if isinstance(mwoauth, ImportError): raise OAuthImpossible('mwoauth is not installed: %s.' % mwoauth) assert password is not None and user is not None - super(OauthLoginManager, self).__init__(None, False, site, None) + super(OauthLoginManager, self).__init__(password=None, site=site, + user=None) if self.password: pywikibot.warn('Password exists in password file for %s:%s.' 'Password is unnecessary and should be removed '
pywikibot-commits@lists.wikimedia.org