jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/443294 )
Change subject: logging.py: fix critcal() docstring ......................................................................
logging.py: fix critcal() docstring
critical() output goes to console as well.
Bug: T195537 Change-Id: Ia23832ee70f84e2860400ad0bbd24ecaeaeb1bd3 --- M pywikibot/logging.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Zhuyifei1999: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/logging.py b/pywikibot/logging.py index bdac13b..12d0bde 100644 --- a/pywikibot/logging.py +++ b/pywikibot/logging.py @@ -164,7 +164,7 @@
def critical(text, decoder=None, newline=True, **kwargs): - """Output a critical record to the log file.""" + """Output a critical record to the user via the userinterface.""" logoutput(text, decoder, newline, CRITICAL, **kwargs)
pywikibot-commits@lists.wikimedia.org