]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/database.py
Merge branch 'release'
[notmuch] / bindings / python / notmuch / database.py
index 5931f41bc26c28d17ca1b5b306beb9abef313674..7ddf5cfe7d8d265980963ca09a1388b36717c851 100644 (file)
@@ -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)
@@ -586,14 +586,3 @@ class Database(object):
             raise NotmuchError(message="No DB path specified"
                                        " and no user default found")
         return config.get('database', 'path')
-
-    @property
-    def db_p(self):
-        """Property returning a pointer to `notmuch_database_t` or `None`
-
-        .. deprecated:: 0.14
-                        If you really need a pointer to the notmuch
-                        database object use the `_pointer` field. This
-                        alias will be removed in notmuch 0.15.
-        """
-        return self._db