From: Anton Khirnov Date: Sun, 12 Oct 2025 08:55:41 +0000 (+0200) Subject: bindings/python-cffi: do not use an unbound variable X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=98590853893531b5089d90d50e2d670c6a3296db;p=notmuch bindings/python-cffi: do not use an unbound variable This seems to have been copied accidentally from another part of the file. --- 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)