Commit 75eb1c1c authored by Jeremy Hylton's avatar Jeremy Hylton

Add optional subtransaction arguments to top-level commit() and abort().

parent ab8a96df
......@@ -23,11 +23,11 @@ def get():
def begin():
return manager.begin()
def commit():
manager.get().commit()
def commit(sub=False):
manager.get().commit(sub)
def abort():
manager.get().abort()
def abort(sub=False):
manager.get().abort(sub)
# XXX Issue deprecation warning if this variant is used?
get_transaction = get
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