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

Jeremy Hylton cvs-admin at zope.org
Thu Nov 20 15:58:30 EST 2003


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

Modified Files:
      Tag: ZODB3-mvcc-2-branch
	Connection.py 
Log Message:
Provide some data in case the assertion fails.


=== ZODB3/ZODB/Connection.py 1.100.2.2 => 1.100.2.3 ===
--- ZODB3/ZODB/Connection.py:1.100.2.2	Wed Nov 19 16:54:08 2003
+++ ZODB3/ZODB/Connection.py	Thu Nov 20 15:58:29 2003
@@ -644,7 +644,7 @@
         # The non-current transaction must have been written before
         # txn_time.  It must be current at txn_time, but could have
         # been modified at txn_time.
-        assert start < self._txn_time <= end
+        assert start < self._txn_time <= end, (start, self._txn_time, end)
         self._noncurrent[obj._p_oid] = True
         self._set_ghost_state(obj, data, serial)
 




More information about the Zodb-checkins mailing list