From d1c67f03f82a064e361b7a8128d8888362919854 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 1 Sep 2013 01:24:50 -0400 Subject: [PATCH] Make one debug message more consistent. --- tasks/afc_statistics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/afc_statistics.py b/tasks/afc_statistics.py index 0f34d00..1abc6c4 100644 --- a/tasks/afc_statistics.py +++ b/tasks/afc_statistics.py @@ -242,7 +242,8 @@ class AFCStatistics(Task): continue msg = u"Updating page [[{0}]] (id: {1}) @ {2}" self.logger.debug(msg.format(title, pageid, oldid)) - self.logger.debug(" {0} -> {1}".format(oldid, real_oldid)) + msg = u" {0}: oldid: {1} -> {2}" + self.logger.debug(msg.format(pageid, oldid, real_oldid)) real_title = real_title.decode("utf8").replace("_", " ") ns = self.site.namespace_id_to_name(real_ns) if ns: