jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/543388 )
Change subject: [bugfix] Fix deprecated_args decorator ......................................................................
[bugfix] Fix deprecated_args decorator
Change-Id: I18703652a5b10ff5c07ad4df50715f4d420646c4 Signed-off-by: Xqt info@gno.de --- M pywikibot/login.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Huji: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/login.py b/pywikibot/login.py index 4fbe0e9..9b9ed2f 100644 --- a/pywikibot/login.py +++ b/pywikibot/login.py @@ -60,7 +60,7 @@
"""Site login manager."""
- @deprecated_args(username='user', verbose=None, sysop=False) + @deprecated_args(username='user', verbose=None, sysop=None) def __init__(self, password=None, site=None, user=None): """ Initializer. @@ -356,7 +356,7 @@ # NOTE: Currently OauthLoginManager use mwoauth directly to complete OAuth # authentication process
- @deprecated_args(sysop=False) + @deprecated_args(sysop=None) def __init__(self, password=None, site=None, user=None): """ Initializer.
pywikibot-commits@lists.wikimedia.org