X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fdatabase.py;h=8f62d18cbe2547c20bb60dbb7848b55c006dbf29;hb=9562c7d1fb18e77ee2a23f4e4a68125f304690d3;hp=84cf79bbad13f90e8d438bb51d4fac44a818bf4a;hpb=805d737029e2758499bae95cd893f219171e2b00;p=notmuch diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py index 84cf79bb..8f62d18c 100644 --- a/bindings/python/notmuch/database.py +++ b/bindings/python/notmuch/database.py @@ -580,7 +580,7 @@ class Query(object): threads_p = Query._search_threads(self._query) if threads_p is None: - NotmuchError(STATUS.NULL_POINTER) + raise NotmuchError(STATUS.NULL_POINTER) return Threads(threads_p,self)