Database(): honor NOTMUCH_CONFIG env variable for reading the standard database location.
authorSebastian Spaeth <sebastian@sspaeth.de>
Thu, 18 Mar 2010 17:48:36 +0000 (18:48 +0100)
committerSebastian Spaeth <sebastian@sspaeth.de>
Thu, 18 Mar 2010 17:48:36 +0000 (18:48 +0100)
commitd566ae643c0ec59157d34fe62b8aafdb1a49ef43
tree4f5b143dcfba08242b0132481acce21a167ff6ed
parent4ed01d055ac59b182535dfe44a33e52fc271279b
Database(): honor NOTMUCH_CONFIG env variable for reading the standard database location.

Also replaces all Database.MODE.* defaults in the keyword arguments with their numeric replacement, they do not seem to be available yet at that time, so the python parser complained about them as being unknown.
cnotmuch/database.py