jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/467076 )
Change subject: [fix] Fixed cleanup regression error
......................................................................
[fix] Fixed cleanup regression error
Fix regression TypeError, "pg" is a page object and
not a string.
Bug: T206912
Change-Id: I10815cf1a1212e786702ba325dd30e9ef0c6a4ae
---
M scripts/archivebot.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Dalba: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/archivebot.py b/scripts/archivebot.py
index e501dd8..8028f5f 100755
--- a/scripts/archivebot.py
+++ b/scripts/archivebot.py
@@ -785,7 +785,7 @@
pagelist.append(pywikibot.Page(site, pagename, ns=3))
pagelist = sorted(pagelist)
for pg in iter(pagelist):
- pywikibot.output('Processing ' + pg)
+ pywikibot.output('Processing {}'.format(pg))
# Catching exceptions, so that errors in one page do not bail out
# the entire process
try:
--
To view, visit
https://gerrit.wikimedia.org/r/467076
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I10815cf1a1212e786702ba325dd30e9ef0c6a4ae
Gerrit-Change-Number: 467076
Gerrit-PatchSet: 2
Gerrit-Owner: D3r1ck01 <alangiderick(a)gmail.com>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)