aboutsummaryrefslogtreecommitdiff
path: root/bindings/python-cffi
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2025-10-12 10:55:41 +0200
committerDavid Bremner <david@tethera.net>2026-01-25 09:05:04 +0900
commit98590853893531b5089d90d50e2d670c6a3296db (patch)
treeb72fbe843de6b2f821309bd8b39dff9882f5137e /bindings/python-cffi
parentd079f76c09e86ed1a3a27c6ca8fd5d8d04985efa (diff)
bindings/python-cffi: do not use an unbound variable
This seems to have been copied accidentally from another part of the file.
Diffstat (limited to 'bindings/python-cffi')
-rw-r--r--bindings/python-cffi/notmuch2/_database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python-cffi/notmuch2/_database.py b/bindings/python-cffi/notmuch2/_database.py
index a47049ba..ba389a42 100644
--- a/bindings/python-cffi/notmuch2/_database.py
+++ b/bindings/python-cffi/notmuch2/_database.py
@@ -877,4 +877,4 @@ class IndexOptions(base.NotmuchObject):
ret = capi.lib.notmuch_indexopts_set_decrypt_policy(
self._opts_p, val.value)
if ret != capi.lib.NOTMUCH_STATUS_SUCCESS:
- raise errors.NotmuchError(ret, msg)
+ raise errors.NotmuchError(ret)