DbTxn: use no_magic explicitly
This commit is contained in:
parent
92ca9d7571
commit
ecc078b891
@ -1481,14 +1481,14 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback):
|
||||
"""
|
||||
return DbGenericTxn
|
||||
|
||||
def DbTxn(self, message, batch=False, **kwargs):
|
||||
def DbTxn(self, message, batch=False, no_magic=False):
|
||||
"""
|
||||
Create a transaction for this database type.
|
||||
|
||||
kwargs may contain:
|
||||
no_magic
|
||||
"""
|
||||
return DbGenericTxn(message, batch, **kwargs)
|
||||
return DbGenericTxn(message, batch)
|
||||
|
||||
def get_from_name_and_handle(self, table_name, handle):
|
||||
"""
|
||||
|
@ -2430,14 +2430,14 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
|
||||
"""
|
||||
return DbTxn
|
||||
|
||||
def DbTxn(self, message, batch=False, **kwargs):
|
||||
def DbTxn(self, message, batch=False, no_magic=False):
|
||||
"""
|
||||
Create a transaction for this database type.
|
||||
|
||||
kwargs may contain:
|
||||
no_magic
|
||||
"""
|
||||
return DbTxn(message, self, batch, **kwargs)
|
||||
return DbTxn(message, self, batch, no_magic)
|
||||
|
||||
def backup(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user