X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Ftag.py;fp=bindings%2Fpython%2Fnotmuch%2Ftag.py;h=e0598139a0d44f7499f4ebaf1d3f6fda3f0d41e2;hp=9b18160c3d895c501a4cba5a05f875a9b6b78149;hb=162687a99e412098729d639ed7bc27f01372cb84;hpb=09fdf2b283938da1cded87ec8621aabe917a8fa5 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)