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/f7454dec729cc166218fc428b984916d217e9ec3?hp=--cc ReadOnlyDictView: Do not use explicit u literals --- f7454dec729cc166218fc428b984916d217e9ec3 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__