X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fmessages.py;h=251fa3a3457f77ef42831925b7021264c4d9e3be;hb=162687a99e412098729d639ed7bc27f01372cb84;hp=d94f91b4886b0d91fe26b90d2e3a314aa30a837b;hpb=a7561cc20b17669784c3259afcbcef98029f93e9;p=notmuch diff --git a/bindings/python/notmuch/messages.py b/bindings/python/notmuch/messages.py index d94f91b4..251fa3a3 100644 --- a/bindings/python/notmuch/messages.py +++ b/bindings/python/notmuch/messages.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 Jesse Rosenthal """ @@ -184,7 +184,7 @@ class Messages(object): def __del__(self): """Close and free the notmuch Messages""" - if self._msgs is not None: + if self._msgs: self._destroy(self._msgs) def format_messages(self, format, indent=0, entire_thread=False):