X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Ffilenames.py;h=a0b2956316fdd79781905157b7bc1ea9d82dbd88;hb=162687a99e412098729d639ed7bc27f01372cb84;hp=d201ae2207a652958b0c1473ddc89c5124990800;hpb=09fdf2b283938da1cded87ec8621aabe917a8fa5;p=obsolete%2Fnotmuch-old diff --git a/bindings/python/notmuch/filenames.py b/bindings/python/notmuch/filenames.py index d201ae22..a0b29563 100644 --- a/bindings/python/notmuch/filenames.py +++ b/bindings/python/notmuch/filenames.py @@ -128,7 +128,7 @@ class Filenames(Python3StringMixIn): def __del__(self): """Close and free the notmuch filenames""" - if self._files_p is not None: + if self._files_p: self._destroy(self._files_p) def __len__(self):