X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fdirectory.py;h=ae115f818be2c22395531e454dc51ab907405f3c;hb=a4b10675bfe6ee90d84b9880b59c4f5ff15eed3a;hp=284cbdced126952587110f71d8e49d38d4bcd8be;hpb=3a95f3fbc1602d612aec2b7f1095e40c95723aee;p=notmuch diff --git a/bindings/python/notmuch/directory.py b/bindings/python/notmuch/directory.py index 284cbdce..ae115f81 100644 --- a/bindings/python/notmuch/directory.py +++ b/bindings/python/notmuch/directory.py @@ -14,7 +14,7 @@ for more details. You should have received a copy of the GNU General Public License along with notmuch. If not, see . -Copyright 2010 Sebastian Spaeth ' +Copyright 2010 Sebastian Spaeth """ from ctypes import c_uint, c_long @@ -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)