[Zodb-checkins] CVS: ZODB3/ZODB - Connection.py:1.93

Christian Reis kiko at async.com.br
Mon May 19 12:40:59 EDT 2003


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv32108

Modified Files:
	Connection.py 
Log Message:
Minor fix to Connection.commit to make sure it passes the correct object
information to ReadConflictError


=== ZODB3/ZODB/Connection.py 1.92 => 1.93 ===
--- ZODB3/ZODB/Connection.py:1.92	Thu May  8 18:43:07 2003
+++ ZODB3/ZODB/Connection.py	Mon May 19 11:40:58 2003
@@ -317,7 +317,7 @@
         oid = object._p_oid
         if self._conflicts.has_key(oid):
             self.getTransaction().register(object)
-            raise ReadConflictError(oid)
+            raise ReadConflictError(object=object)
         
         invalid = self._invalid
         if oid is None or object._p_jar is not self:




More information about the Zodb-checkins mailing list