jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/565780 )
Change subject: [cleanup] remove IsbnBot.run method ......................................................................
[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(-)
Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
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):
pywikibot-commits@lists.wikimedia.org