jenkins-bot merged this change.
[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.