Since
2b0116119160f2dc83, Message.__str__ doesn't
construct a hash containing the thread data before
constructing the formatstring. This changes the formatstring
to accept positional parameters instead of a hash.
return unicode(self).encode('utf-8')
def __unicode__(self):
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()),
return format % (self.get_header('from'),
self.get_tags(),
date.fromtimestamp(self.get_date()),