jenkins-bot has submitted this change and it was merged.
Change subject: (bug 58188) Ignore BadTitle Error ......................................................................
(bug 58188) Ignore BadTitle Error
Change-Id: I4ba74b924f0369688dbafd979d7acce26afb712f --- M fixing_redirects.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Ladsgroup: Looks good to me, approved jenkins-bot: Verified
diff --git a/fixing_redirects.py b/fixing_redirects.py index 00ed7ea..49627dd 100644 --- a/fixing_redirects.py +++ b/fixing_redirects.py @@ -174,7 +174,7 @@ except pywikibot.NoPage: try: target = page2.getMovedTarget() - except pywikibot.NoPage: + except (pywikibot.NoPage, pywikibot.BadTitle): continue except (pywikibot.Error, pywikibot.SectionError): continue
pywikibot-commits@lists.wikimedia.org