jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/742203 )
Change subject: [bugfix] Don't pass generator parameter twice to ImageRobot ......................................................................
[bugfix] Don't pass generator parameter twice to ImageRobot
Bug: T296567 Change-Id: I03b2e224807ebbc96b6ddc8fbda7e23236b3a5fc --- M scripts/image.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Matěj Suchánek: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/image.py b/scripts/image.py index bbeb82e..4b55d1d 100755 --- a/scripts/image.py +++ b/scripts/image.py @@ -70,7 +70,7 @@ 'loose': False, })
- SingleSiteBot.__init__(self, generator=generator, **kwargs) + SingleSiteBot.__init__(self, **kwargs)
self.old_image = old_image self.new_image = new_image @@ -114,7 +114,7 @@ else: replacements.append((image_regex, ''))
- super().__init__(self.generator, replacements, + super().__init__(generator, replacements, always=self.opt.always, site=self.site, summary=summary)
pywikibot-commits@lists.wikimedia.org