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:
pywikibot-commits@lists.wikimedia.org