diff options
| author | David Bremner <david@tethera.net> | 2022-10-10 12:56:18 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-10-10 12:56:18 -0300 |
| commit | 0558c46f78e3abc4d9ee27cd135b29ddf356073d (patch) | |
| tree | 3a8431e88feffa23321de720d33ca0d78be1b2dc /bindings/python-cffi/notmuch2 | |
| parent | ceeeebec2fdc97f8d323a3a7080da1be9e8e7f24 (diff) | |
| parent | 76c3147613d0cb624573a5ba1ac7d0a5f81113bc (diff) | |
Merge tag 'debian/0.37-1' into debian/bullseye-backports
notmuch release 0.37-1 for unstable (sid) [dgit]
[dgit distro=debian no-split --quilt=linear]
Diffstat (limited to 'bindings/python-cffi/notmuch2')
| -rw-r--r-- | bindings/python-cffi/notmuch2/_build.py | 1 | ||||
| -rw-r--r-- | bindings/python-cffi/notmuch2/_message.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bindings/python-cffi/notmuch2/_build.py b/bindings/python-cffi/notmuch2/_build.py index 349bb79d..65d7dcb6 100644 --- a/bindings/python-cffi/notmuch2/_build.py +++ b/bindings/python-cffi/notmuch2/_build.py @@ -55,6 +55,7 @@ ffibuilder.cdef( NOTMUCH_STATUS_DATABASE_EXISTS, NOTMUCH_STATUS_BAD_QUERY_SYNTAX, NOTMUCH_STATUS_NO_MAIL_ROOT, + NOTMUCH_STATUS_CLOSED_DATABASE, NOTMUCH_STATUS_LAST_STATUS } notmuch_status_t; typedef enum { diff --git a/bindings/python-cffi/notmuch2/_message.py b/bindings/python-cffi/notmuch2/_message.py index aa1cb875..d4b34e91 100644 --- a/bindings/python-cffi/notmuch2/_message.py +++ b/bindings/python-cffi/notmuch2/_message.py @@ -26,7 +26,7 @@ class Message(base.NotmuchObject): package from Python's standard library. You could e.g. create this as such:: - notmuch_msg = db.get_message(msgid) # or from a query + notmuch_msg = db.find(msgid) # or from a query parser = email.parser.BytesParser(policy=email.policy.default) with notmuch_msg.path.open('rb) as fp: email_msg = parser.parse(fp) |
