commit 1886da7cdea8ff151b61307824c2be2f2aac0abd
parent 3948ef64fa8e1858b498dacdc76a5eb06fab99f8
Author: ThomasV <thomasv@gitorious>
Date: Sun, 7 Sep 2014 23:04:04 +0200
fix printing of unicode values
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/labels.py b/plugins/labels.py
@@ -185,12 +185,12 @@ class Plugin(BasePlugin):
try:
encoded_key = self.encode(key)
except:
- print_error('cannot encode', key)
+ print_error('cannot encode', repr(key))
continue
try:
encoded_value = self.encode(value)
except:
- print_error('cannot encode', value)
+ print_error('cannot encode', repr(value))
continue
bundle["labels"][encoded_key] = encoded_value