jenkins-bot has submitted this change and it was merged.
Change subject: [bugfix] -nolog option must also disable general '*' setting ......................................................................
[bugfix] -nolog option must also disable general '*' setting
Bug: T56897 Change-Id: Iab5e3b2271796db99345139769704500f407a4e0 --- M pywikibot/bot.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py index 895e56f..3c76689 100644 --- a/pywikibot/bot.py +++ b/pywikibot/bot.py @@ -860,8 +860,7 @@ if value: config.logfilename = value elif option == '-nolog': - if moduleName in config.log: - config.log.remove(moduleName) + config.log = [] elif option in ('-cosmeticchanges', '-cc'): config.cosmetic_changes = not config.cosmetic_changes output(u'NOTE: option cosmetic_changes is %s\n'
pywikibot-commits@lists.wikimedia.org