aboutsummaryrefslogtreecommitdiff
path: root/bindings/python
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-02-26 17:21:34 -0400
committerDavid Bremner <david@tethera.net>2017-03-22 08:35:07 -0300
commit5ce8e0b11b40f733e6231d2067764e76717a341a (patch)
treeb58f3e8f804d2d06e7070be05c71941c342c38a3 /bindings/python
parent86cbd215eb67d7b996c977352a50e70c101cb641 (diff)
lib: replace deprecated n_q_count_messages with status returning version
This function was deprecated in notmuch 0.21. We re-use the name for a status returning version, and deprecate the _st name. One or two remaining uses of the (removed) non-status returning version fixed at the same time
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/notmuch/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/notmuch/query.py b/bindings/python/notmuch/query.py
index a91bb740..10fb6dcc 100644
--- a/bindings/python/notmuch/query.py
+++ b/bindings/python/notmuch/query.py
@@ -185,7 +185,7 @@ class Query(object):
raise NullPointerError
return Messages(msgs_p, self)
- _count_messages = nmlib.notmuch_query_count_messages_st
+ _count_messages = nmlib.notmuch_query_count_messages
_count_messages.argtypes = [NotmuchQueryP, POINTER(c_uint)]
_count_messages.restype = c_uint