aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/python/notmuch/query.py
diff options
context:
space:
mode:
authorGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-12-21 10:37:54 +0100
committerGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-12-21 10:56:06 +0100
commit8728340644da8af1d60af6c9ee329a83549b9ce7 (patch)
tree4b6dee23e87b5b9471decb3557420fc5d8d69660 /bindings/python/notmuch/query.py
parent22ebd9aa24972fc94e62f92a277c4a72f7fdd3c1 (diff)
python: remove Database.db_p
The function has been marked as deprecated in 0.14 and is now removed. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'bindings/python/notmuch/query.py')
-rw-r--r--bindings/python/notmuch/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/notmuch/query.py b/bindings/python/notmuch/query.py
index 4abba5bd..b11a399d 100644
--- a/bindings/python/notmuch/query.py
+++ b/bindings/python/notmuch/query.py
@@ -100,7 +100,7 @@ class Query(object):
# create reference to parent db to keep it alive
self._db = db
# create query, return None if too little mem available
- query_p = Query._create(db.db_p, _str(querystr))
+ query_p = Query._create(db._db, _str(querystr))
if not query_p:
raise NullPointerError
self._query = query_p