]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/message.py
version: update to 0.19~rc1
[notmuch] / bindings / python / notmuch / message.py
index 0cac09c1c133cee415cc62125b8262f6c0182e25..d1c1b58c4a9a0cc129830fdcec2eceee93821d60 100644 (file)
@@ -41,10 +41,6 @@ from .tag import Tags
 from .filenames import Filenames
 
 import email
-try:
-    import simplejson as json
-except ImportError:
-    import json
 
 
 class Message(Python3StringMixIn):
@@ -304,7 +300,7 @@ class Message(Python3StringMixIn):
             raise NotInitializedError()
 
         tags_p = Message._get_tags(self._msg)
-        if tags_p == None:
+        if not tags_p:
             raise NullPointerError()
         return Tags(tags_p, self)