diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2012-05-17 17:15:24 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2012-05-17 17:15:49 +0200 |
commit | 8dc8495010057202b725ac029831c03f4e3ab6bd (patch) | |
tree | 741919e07596d8515ff89edf3923950c451e6c22 /bindings/python/notmuch/thread.py | |
parent | 05c3e83bd272635ecc5e86d767250de1eb680a09 (diff) |
python: Fix the remaining broken NULL pointer tests
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'bindings/python/notmuch/thread.py')
-rw-r--r-- | bindings/python/notmuch/thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/notmuch/thread.py b/bindings/python/notmuch/thread.py index 789f9a0..009cb2b 100644 --- a/bindings/python/notmuch/thread.py +++ b/bindings/python/notmuch/thread.py @@ -238,7 +238,7 @@ class Thread(object): raise NotInitializedError() tags_p = Thread._get_tags(self._thread) - if tags_p == None: + if not tags_p: raise NullPointerError() return Tags(tags_p, self) |