diff options
| author | Anton Khirnov <anton@khirnov.net> | 2025-08-28 11:00:59 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2025-09-14 13:32:45 -0300 |
| commit | c55953e9de408674d71db78ea4fff941972b2f0a (patch) | |
| tree | 3c343b3d0644d51b596e2cbf16fe586d86d57dae /bindings/python-cffi/notmuch2/_message.py | |
| parent | abdff73a3333b295a599135ad2777e852189e188 (diff) | |
bindings/python-cffi: handle NOTMUCH_STATUS_OPERATION_INVALIDATED
Raise it as a newly added OperationInvalidatedError exception.
Diffstat (limited to 'bindings/python-cffi/notmuch2/_message.py')
| -rw-r--r-- | bindings/python-cffi/notmuch2/_message.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/python-cffi/notmuch2/_message.py b/bindings/python-cffi/notmuch2/_message.py index 79485238..e31e0c3c 100644 --- a/bindings/python-cffi/notmuch2/_message.py +++ b/bindings/python-cffi/notmuch2/_message.py @@ -707,7 +707,8 @@ class MessageIter(base.NotmuchIter): self._msg_cls = msg_cls super().__init__(parent, msgs_p, fn_destroy=capi.lib.notmuch_messages_destroy, - fn_valid=capi.lib.notmuch_messages_valid, + fn_valid=None, + fn_status=capi.lib.notmuch_messages_status, fn_get=capi.lib.notmuch_messages_get, fn_next=capi.lib.notmuch_messages_move_to_next) |
