[PATCH 1/7] bindings/python-cffi: do not use an unbound variable

Subject: [PATCH 1/7] bindings/python-cffi: do not use an unbound variable

Date: Sun, 12 Oct 2025 10:55:41 +0200

To: notmuch@notmuchmail.org

Cc:

From: Anton Khirnov


This seems to have been copied accidentally from another part of the
file.
---
 bindings/python-cffi/notmuch2/_database.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.47.3

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: