jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/524673 )
Change subject: [bugfix] Fix the comparison in archivebot ......................................................................
[bugfix] Fix the comparison in archivebot
Bug: T228587 Change-Id: I30da3c19521d24391924e3cb1c1d7ee20abb8d47 --- M scripts/archivebot.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/archivebot.py b/scripts/archivebot.py index 97c0bb9..c0381f8 100755 --- a/scripts/archivebot.py +++ b/scripts/archivebot.py @@ -572,7 +572,7 @@ pywikibot.output('Looking for: {{%s}} in %s' % (self.tpl.title(), self.page)) for tpl in self.page.raw_extracted_templates: - if tpl[0] == self.tpl.title(): + if tpl[0] == self.tpl.title(with_ns=False): for item, value in tpl[1].items(): self.set_attr(item.strip(), value.strip()) break
pywikibot-commits@lists.wikimedia.org