jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1052703?usp=email )
Change subject: [redirect] raise error explicitly in _skip_on_exception ......................................................................
[redirect] raise error explicitly in _skip_on_exception
explicit is better than implicit here; this also solves some linter errors
Change-Id: Ic5055982744ddcacea2d07c13e97cef377f5f1b9 --- M scripts/redirect.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/scripts/redirect.py b/scripts/redirect.py index 61a0d6c..c415c2d 100755 --- a/scripts/redirect.py +++ b/scripts/redirect.py @@ -599,7 +599,7 @@ # all uncatched exceptions # Note: elif statements are necessary above because all Errors # above derive from Exception class - raise + raise error
return True
pywikibot-commits@lists.wikimedia.org