]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/message.py
Merge tag '0.13.2'
[notmuch] / bindings / python / notmuch / message.py
index bdbe5012bd0f175eb69fc36603722198a4fa72b6..d1c1b58c4a9a0cc129830fdcec2eceee93821d60 100644 (file)
@@ -300,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)