python: handle return status of database close and destroy
authorPeter Wang <novalazy@gmail.com>
Wed, 16 Apr 2014 12:59:18 +0000 (22:59 +1000)
committerDavid Bremner <david@tethera.net>
Tue, 16 Sep 2014 18:16:52 +0000 (20:16 +0200)
commitea90d8e043e348616d9e17cef66c17274342dacd
tree598574cb8c50f70a59419dfed4cdf6ed9732e507
parent6754ad9f9e46a08da9332a066b2dc606c18277d0
python: handle return status of database close and destroy

Throw an exception if notmuch_database_close or notmuch_database_destroy
fail.
bindings/python/notmuch/database.py