Revert "DbTxn: use no_magic explicitly"

This reverts commit ecc078b891.
This commit is contained in:
Doug Blank 2015-08-22 21:44:37 -04:00
parent 1f42fe835f
commit 0601324851
2 changed files with 4 additions and 4 deletions

View File

@ -1481,14 +1481,14 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback):
""" """
return DbGenericTxn return DbGenericTxn
def DbTxn(self, message, batch=False, no_magic=False): def DbTxn(self, message, batch=False, **kwargs):
""" """
Create a transaction for this database type. Create a transaction for this database type.
kwargs may contain: kwargs may contain:
no_magic no_magic
""" """
return DbGenericTxn(message, batch) return DbGenericTxn(message, batch, **kwargs)
def get_from_name_and_handle(self, table_name, handle): def get_from_name_and_handle(self, table_name, handle):
""" """

View File

@ -2430,14 +2430,14 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
""" """
return DbTxn return DbTxn
def DbTxn(self, message, batch=False, no_magic=False): def DbTxn(self, message, batch=False, **kwargs):
""" """
Create a transaction for this database type. Create a transaction for this database type.
kwargs may contain: kwargs may contain:
no_magic no_magic
""" """
return DbTxn(message, self, batch, no_magic) return DbTxn(message, self, batch, **kwargs)
def backup(self): def backup(self):
""" """