I should also import print_function and unicode_literals from __future__ for Python 2.x compatibility, since I use print() once and never use bytes. I hadn't turned up any problems with 2.x without the __future__ imports, but it's nice to be explicit ;).
Cheers, Trevor -- This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140720/7b50c70c/attachment.pgp>