From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 23 Jan 2013 17:12:04 +0000 (+0100) Subject: python: fix the creation of notmuch databases X-Git-Tag: 0.16_rc1~222 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=c8cb2beda711df8352680402a0df263fb8f31954;p=notmuch python: fix the creation of notmuch databases Remove the superfluous mode argument given to notmuch_database_create fixing the creation of notmuch databases using python code. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> --- diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py index fe692eb7..7ddf5cfe 100644 --- a/bindings/python/notmuch/database.py +++ b/bindings/python/notmuch/database.py @@ -188,7 +188,7 @@ class Database(object): "already has an open one.") db = NotmuchDatabaseP() - status = Database._create(_str(path), Database.MODE.READ_WRITE, byref(db)) + status = Database._create(_str(path), byref(db)) if status != STATUS.SUCCESS: raise NotmuchError(status)