Commit a1fe333f authored by Grégory Wisniewski's avatar Grégory Wisniewski

Add isUnderTransaction() accessor on database manager.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1391 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 5cc74fca
......@@ -27,6 +27,9 @@ class DatabaseManager(object):
"""
self._under_transaction = False
def isUnderTransaction(self):
return self._under_transaction
def begin(self):
"""
Begin a transaction
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment