From 945099b9f9f0fec04605d1a119066bd1308ed299 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 8 Apr 2014 15:18:26 -0400 Subject: [PATCH] A little more debugging. --- bugwarrior/db.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bugwarrior/db.py b/bugwarrior/db.py index 3d45a49da..c781df552 100644 --- a/bugwarrior/db.py +++ b/bugwarrior/db.py @@ -109,10 +109,12 @@ def tasks_differ(left, right): else: if six.text_type(left.get(k)) != six.text_type(right.get(k)): log.name('db').debug( - (u"%s:%s has changed from '%s' to '%s'." % ( + (u"%s:%s has changed from (%r)'%s' to (%r)'%s'." % ( sanitize(left['uuid']), sanitize(k), + type(left.get(k)), sanitize(left.get(k)), + type(right.get(k)), sanitize(right.get(k)) )).encode('utf-8') )