jenkins-bot has submitted this change and it was merged.
Change subject: Fix redirect.py ......................................................................
Fix redirect.py
I63e1699a4b70dde161c0430beaaa5ed0b44093cb introduced a compile bug.
https://integration.wikimedia.org/ci/job/pywikibot-core-tox-flake8/1022/cons...
Change-Id: I05394aef3f8293733ffbae453c210dd991872219 01:33:43 ./scripts/redirect.py:813:9: F821 undefined name 'self' --- M scripts/redirect.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Ricordisamoa: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/redirect.py b/scripts/redirect.py index 17527aa..51d559c 100755 --- a/scripts/redirect.py +++ b/scripts/redirect.py @@ -810,7 +810,7 @@ ): pywikibot.showHelp() else: - self.site.login() + pywikibot.Site().login() gen = RedirectGenerator(xmlFilename, namespaces, offset, moved_pages, fullscan, start, until, number, step) bot = RedirectRobot(action, gen, always, number, delete)
pywikibot-commits@lists.wikimedia.org