[Zope3-checkins] CVS: Zope3/src/transaction -
_transaction.py:1.1.2.25
Jeremy Hylton
jeremy at zope.com
Tue Mar 23 16:13:59 EST 2004
Update of /cvs-repository/Zope3/src/transaction
In directory cvs.zope.org:/tmp/cvs-serv10431
Modified Files:
Tag: jeremy-txn-branch
_transaction.py
Log Message:
Change abort() and commit().
Not sure why the change works, but it gets some more tests to pass.
=== Zope3/src/transaction/_transaction.py 1.1.2.24 => 1.1.2.25 ===
--- Zope3/src/transaction/_transaction.py:1.1.2.24 Tue Mar 23 16:03:12 2004
+++ Zope3/src/transaction/_transaction.py Tue Mar 23 16:13:59 2004
@@ -477,11 +477,12 @@
self._datamanager = datamanager
self._rollback = None
- def commit(self, ob, transaction):
- assert ob is self
+ # XXX I'm not sure why commit() doesn't do anything
- def abort(self, ob, transaction):
- assert ob is self
+ def commit(self, transaction):
+ pass
+
+ def abort(self, transaction):
# We need to discard any changes since the last save point, or all
# changes
More information about the Zope3-Checkins
mailing list