jenkins-bot has submitted this change and it was merged.
Change subject: [lint] remove obsolete exc variable ......................................................................
[lint] remove obsolete exc variable
Change-Id: I77d8ec49d68e495c07f43a0c3d0a069a76815c87 --- M pywikibot/bot.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py index 9e28ab4..13aaf41 100644 --- a/pywikibot/bot.py +++ b/pywikibot/bot.py @@ -618,7 +618,7 @@ if type(getattr(config, _arg)) is not int: raise TypeError setattr(config, _arg, int(_val)) - except (ValueError, TypeError, AttributeError) as exc: + except (ValueError, TypeError, AttributeError): # argument not global -> specific bot script will take care nonGlobalArgs.append(arg)
pywikibot-commits@lists.wikimedia.org