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/database.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/database.py')
-rw-r--r-- | bindings/python/notmuch/database.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py index fb4c9293..8f1b37f7 100644 --- a/bindings/python/notmuch/database.py +++ b/bindings/python/notmuch/database.py @@ -558,7 +558,7 @@ class Database(object): """ self._assert_db_is_initialized() tags_p = Database._get_all_tags(self._db) - if tags_p == None: + if not tags_p: raise NullPointerError() return Tags(tags_p, self) |