[Patch] tag.py: Bugfix to avoid decode() on a NoneType object

Sebastian Spaeth Sebastian at SSpaeth.de
Fri Aug 12 01:14:17 PDT 2011


On Fri, 22 Jul 2011 14:11:41 +0000 (UTC), Michael Heinrich <michael at haas-heinrich.de> wrote:
> Dear all,
> 
> with current head I get following error in my python scripts when I read the
> tags of a message:
> 
>   File "/home/heinrich/.local/lib/python2.6/site-packages/notmuch/tag.py", line
> 88, in next
>     tag = Tags._get(self._tags).decode('utf-8')

Just for reference, this has been fixed in commit
94c5edd064f856a888ce29f7ac1523006b4b8fd6 on Aug 9th
using a slightly different patch of mine.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110812/c36cfab8/attachment.pgp>


More information about the notmuch mailing list