jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/754098 )
Change subject: decrease token replacement logging level to debug ......................................................................
decrease token replacement logging level to debug
Change-Id: I360bf4cfd31aee4c74ecf34a4652f4d379f75e2a --- M pywikibot/site/_tokenwallet.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: JJMC89: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/site/_tokenwallet.py b/pywikibot/site/_tokenwallet.py index cb3f044..271e46e 100644 --- a/pywikibot/site/_tokenwallet.py +++ b/pywikibot/site/_tokenwallet.py @@ -4,7 +4,7 @@ # # Distributed under the terms of the MIT license. # -from pywikibot import log +from pywikibot import debug from pywikibot.exceptions import Error
@@ -60,7 +60,7 @@ if self.site.mw_version >= '1.24wmf19' \ and key in {'edit', 'delete', 'protect', 'move', 'block', 'unblock', 'email', 'import', 'options'}: - log('Token {!r} was replaced by {!r}'.format(key, 'csrf')) + debug('Token {!r} was replaced by {!r}'.format(key, 'csrf')) key = 'csrf'
try:
pywikibot-commits@lists.wikimedia.org