No need to use twophase in sqlalchemy since we only talk to one db

This commit is contained in:
Jason Kölker
2013-03-13 21:14:58 -05:00
parent da5f4b626b
commit 688bbba1a1

View File

@@ -63,7 +63,6 @@ class Plugin(quantum_plugin_base_v2.QuantumPluginBaseV2):
def _initDBMaker(self):
# This needs to be called after _ENGINE is configured
db_api._MAKER = scoped_session(sessionmaker(bind=db_api._ENGINE,
twophase=True, autocommit=False,
extension=ZopeTransactionExtension()))
def __init__(self):