jenkins-bot merged this change.
[cleanup] remove IsbnBot.run method
IsbnBot is derived from Bot class which has a common run method
and calls Bot.treat method with page parameter. It is not necessary
to have an additional run method to override the default behavior.
Change-Id: Ic5f437dc3eb764d7180f377a9fe56c7357958fec
---
M scripts/isbn.py
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/scripts/isbn.py b/scripts/isbn.py
index 40ad1ae..8559f17 100755
--- a/scripts/isbn.py
+++ b/scripts/isbn.py
@@ -1533,11 +1533,6 @@
pywikibot.output('Page {0} is a redirect; skipping.'
.format(page.title(as_link=True)))
- def run(self):
- """Run the bot."""
- for page in self.generator:
- self.treat(page)
-
class IsbnWikibaseBot(WikidataBot):
To view, visit change 565780. To unsubscribe, or for help writing mail filters, visit settings.