]> git.madduck.net Git - etc/taskwarrior.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

ReadOnlyDictView: Do not use explicit u literals
authorTomas Babej <tomasbabej@gmail.com>
Fri, 11 Sep 2015 02:45:29 +0000 (04:45 +0200)
committerTomas Babej <tomasbabej@gmail.com>
Sat, 26 Dec 2015 03:17:34 +0000 (04:17 +0100)
tasklib/task.py

index f0bb3a80904252cbf5342a45a94af7c3a22fb031..5eabc65178d2ae930835d6508a04ad45f0eafe0c 100644 (file)
@@ -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__