X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Ftag.py;h=e0598139a0d44f7499f4ebaf1d3f6fda3f0d41e2;hb=162687a99e412098729d639ed7bc27f01372cb84;hp=9b18160c3d895c501a4cba5a05f875a9b6b78149;hpb=1f08664a6b8f7cba63f63855833f877b66bbbe05;p=notmuch diff --git a/bindings/python/notmuch/tag.py b/bindings/python/notmuch/tag.py index 9b18160c..e0598139 100644 --- a/bindings/python/notmuch/tag.py +++ b/bindings/python/notmuch/tag.py @@ -137,5 +137,5 @@ class Tags(Python3StringMixIn): def __del__(self): """Close and free the notmuch tags""" - if self._tags is not None: + if self._tags: self._destroy(self._tags)