]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/message.py
py3k: The ConfigParser module has been renamed to configparser
[notmuch] / bindings / python / notmuch / message.py
index f95e50e284c5124d0a3e6d37bc0d942e684ccf68..ce8e7181b2743f162843c8f2d387baf3515d3f9c 100644 (file)
@@ -799,7 +799,7 @@ class Message(object):
         return unicode(self).encode('utf-8')
 
     def __unicode__(self):
-        format = "%(from)s (%(date)s) (%(tags)s)"
+        format = "%s (%s) (%s)"
         return format % (self.get_header('from'),
                          self.get_tags(),
                          date.fromtimestamp(self.get_date()),