jenkins-bot has submitted this change and it was merged.
Change subject: Follows-up I0f1170de4fb: fix overlooked byte size counts ......................................................................
Follows-up I0f1170de4fb: fix overlooked byte size counts
Change-Id: I8c212fb40daa415c6eeb17da46ac4f3e87f5ba69 --- M scripts/archivebot.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/archivebot.py b/scripts/archivebot.py index 91cb5c9..e9a8c9b 100644 --- a/scripts/archivebot.py +++ b/scripts/archivebot.py @@ -198,7 +198,7 @@
def __repr__(self): return '%s("%s",%d bytes)' \ - % (self.__class__.__name__, self.title, len(self.content)) + % (self.__class__.__name__, self.title, len(self.content.encode('utf-8')))
def feed_line(self, line): if not self.content and not line:
pywikibot-commits@lists.wikimedia.org