jenkins-bot merged this change.
[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(-)
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.
To view, visit change 543388. To unsubscribe, or for help writing mail filters, visit settings.