From: Tomas Babej Date: Fri, 11 Sep 2015 02:45:29 +0000 (+0200) Subject: ReadOnlyDictView: Do not use explicit u literals X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/9d4a92cc59c3f4a0bfa59372221880c981f69327 ReadOnlyDictView: Do not use explicit u literals --- diff --git a/tasklib/task.py b/tasklib/task.py index f0bb3a8..5eabc65 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -39,7 +39,7 @@ class ReadOnlyDictView(object): return len(self.viewed_dict) def __unicode__(self): - return u'ReadOnlyDictView: {0}'.format(repr(self.viewed_dict)) + return six.u('ReadOnlyDictView: {0}'.format(repr(self.viewed_dict))) __repr__ = __unicode__