]> git.notmuchmail.org Git - notmuch/commitdiff
bindings/python-cffi: do not use an unbound variable master
authorAnton Khirnov <anton@khirnov.net>
Sun, 12 Oct 2025 08:55:41 +0000 (10:55 +0200)
committerDavid Bremner <david@tethera.net>
Sun, 25 Jan 2026 00:05:04 +0000 (09:05 +0900)
This seems to have been copied accidentally from another part of the
file.

bindings/python-cffi/notmuch2/_database.py

index a47049bae4f8d4a888beae111007a15904b865ec..ba389a429c51749750878ae1a417118d0458ea3a 100644 (file)
@@ -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)