]> git.notmuchmail.org Git - notmuch/commit
python config access: fix style and KeyError bug
authorFloris Bruynooghe <flub@devork.be>
Mon, 15 Jun 2020 21:55:53 +0000 (23:55 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 16 Jun 2020 00:50:03 +0000 (21:50 -0300)
commit1bca41698a03980b701558fb5c481ef0a340460d
tree43da814b06de63b57c0bafa92483b1bb66d37c75
parent5a58754841f4d3e62d104ad338c8ca2c481dc32e
python config access: fix style and KeyError bug

This fixes some minor style/pep8 things and adds tests for the new
config support.  Also fixes a bug where KeyError was never raised
on a missing key.
bindings/python-cffi/notmuch2/_config.py
bindings/python-cffi/tests/test_config.py [new file with mode: 0644]