jenkins-bot merged this change.

View Change

Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
[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(-)

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 change 467076. To unsubscribe, or for help writing mail filters, visit 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@gmail.com>
Gerrit-Reviewer: Dalba <dalba.wiki@gmail.com>
Gerrit-Reviewer: jenkins-bot (75)