jenkins-bot has submitted this change and it was merged.
Change subject: [bugfix] Ignore invalid title error in redirect.py ......................................................................
[bugfix] Ignore invalid title error in redirect.py
Bug: T88801 Change-Id: I5b8d5343188350a2ff41400b83db1d7e1ee22f36 --- M scripts/redirect.py 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/redirect.py b/scripts/redirect.py index 0560204..225d231 100755 --- a/scripts/redirect.py +++ b/scripts/redirect.py @@ -436,6 +436,9 @@ u'Redirect target %s is not a valid page title.' % str(e)[10:]) pass + except pywikibot.InvalidTitle: + pywikibot.exception() + pass except pywikibot.NoPage: movedTarget = self.moved_page(targetPage) if movedTarget: