From 98590853893531b5089d90d50e2d670c6a3296db Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 12 Oct 2025 10:55:41 +0200 Subject: [PATCH] bindings/python-cffi: do not use an unbound variable 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.45.2