X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fdirectory.py;h=ae115f818be2c22395531e454dc51ab907405f3c;hb=162687a99e412098729d639ed7bc27f01372cb84;hp=667d3a4b64986c4901d0b9f0e52f43334660e120;hpb=09fdf2b283938da1cded87ec8621aabe917a8fa5;p=obsolete%2Fnotmuch-old diff --git a/bindings/python/notmuch/directory.py b/bindings/python/notmuch/directory.py index 667d3a4b..ae115f81 100644 --- a/bindings/python/notmuch/directory.py +++ b/bindings/python/notmuch/directory.py @@ -181,5 +181,5 @@ class Directory(object): def __del__(self): """Close and free the Directory""" - if self._dir_p is not None: + if self._dir_p: self._destroy(self._dir_p)