[Zope-Checkins]
SVN: Zope/branches/jim-fix-zclasses/lib/python/transaction/_manager.py
Added missing arguments to commit and abort.
Jim Fulton
jim at zope.com
Mon Apr 4 07:03:49 EDT 2005
Log message for revision 29867:
Added missing arguments to commit and abort.
Changed:
U Zope/branches/jim-fix-zclasses/lib/python/transaction/_manager.py
-=-
Modified: Zope/branches/jim-fix-zclasses/lib/python/transaction/_manager.py
===================================================================
--- Zope/branches/jim-fix-zclasses/lib/python/transaction/_manager.py 2005-04-04 10:59:36 UTC (rev 29866)
+++ Zope/branches/jim-fix-zclasses/lib/python/transaction/_manager.py 2005-04-04 11:03:48 UTC (rev 29867)
@@ -94,11 +94,11 @@
def unregisterSynch(self, synch):
self._synchs.remove(synch)
- def commit(self):
- self.get().commit()
+ def commit(self, sub=False):
+ self.get().commit(sub)
- def abort(self):
- self.get().abort()
+ def abort(self, sub=False):
+ self.get().abort(sub)
class ThreadTransactionManager(TransactionManager):
"""Thread-aware transaction manager.
More information about the Zope-Checkins
mailing list