]> git.notmuchmail.org Git - notmuch/commit
python: help function Query._assert_query_is_initialized
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 5 Oct 2011 15:55:30 +0000 (17:55 +0200)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 5 Oct 2011 15:55:30 +0000 (17:55 +0200)
commit5e75398c80ab3008ca0ecd60544897dc5e546e47
tree5328250f33c1dfc7c6bf6de23c4ede5a7f371eb5
parent42f184c23668173e675a006864f188155826d1bd
python: help function Query._assert_query_is_initialized

Remove code duplication by using the new helper function. Also raise the
new fine grained exceptions in many cases, rather than the more generic
NotmuchErrors.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
bindings/python/notmuch/database.py