From 6f5c7f7da79f7f9f5f4e2251b91a2a35c3e0966b Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 22 Aug 2015 20:21:58 -0400 Subject: [PATCH] DbTxn: pass db to generic DbTxn --- gramps/gen/db/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/db/generic.py b/gramps/gen/db/generic.py index 465804d2d..6d22e582e 100644 --- a/gramps/gen/db/generic.py +++ b/gramps/gen/db/generic.py @@ -385,7 +385,7 @@ class Bookmarks(object): class DbGenericTxn(DbTxn): - def __init__(self, message, batch=False): + def __init__(self, message, db, batch=False): DbTxn.__init__(self, message, db, batch) def get(self, key, default=None, txn=None, **kwargs):