DbTxn: pass db to generic DbTxn

This commit is contained in:
Doug Blank 2015-08-22 20:21:58 -04:00
parent 8e89ceb395
commit 6f5c7f7da7

View File

@ -385,7 +385,7 @@ class Bookmarks(object):
class DbGenericTxn(DbTxn): class DbGenericTxn(DbTxn):
def __init__(self, message, batch=False): def __init__(self, message, db, batch=False):
DbTxn.__init__(self, message, db, batch) DbTxn.__init__(self, message, db, batch)
def get(self, key, default=None, txn=None, **kwargs): def get(self, key, default=None, txn=None, **kwargs):