[Zope3-checkins] CVS: ZODB4/ZODB - Connection.py:1.74
Jeremy Hylton
jeremy@zope.com
Mon, 29 Jul 2002 15:07:59 -0400
Update of /cvs-repository/ZODB4/ZODB
In directory cvs.zope.org:/tmp/cvs-serv16201/ZODB
Modified Files:
Connection.py
Log Message:
Do not catch exceptions in prepare()!
=== ZODB4/ZODB/Connection.py 1.73 => 1.74 ===
for obj in self._txns.get(txn, ()):
self.objcommit(obj, txn)
- try:
- s = self._storage.tpc_vote(txn)
- self._handle_serial(s)
- except Exception, err:
- print "Error during tpc_vote", err
- return False
+ s = self._storage.tpc_vote(txn)
+ self._handle_serial(s)
return True
def _handle_serial(self, store_return, oid=None, change=1):