Commit 0372e3c9 authored by Jeremy Hylton's avatar Jeremy Hylton

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

parent 9fb66185
......@@ -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