[Zope-Checkins] CVS: ZODB3/ZODB - DemoStorage.py:1.21.2.4

Jeremy Hylton cvs-admin at zope.org
Sun Nov 23 15:57:08 EST 2003


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

Modified Files:
      Tag: ZODB3-mvcc-2-branch
	DemoStorage.py 
Log Message:
Return the current txn's tid with the non-version data.


=== ZODB3/ZODB/DemoStorage.py 1.21.2.3 => 1.21.2.4 ===
--- ZODB3/ZODB/DemoStorage.py:1.21.2.3	Thu Nov 20 16:01:10 2003
+++ ZODB3/ZODB/DemoStorage.py	Sun Nov 23 15:57:07 2003
@@ -203,7 +203,9 @@
                 oversion, nv = vdata
                 if oversion != version:
                     if nv:
-                        oid, serial, pre, vdata, p, tid = nv
+                        # Return the current txn's tid with the non-version
+                        # data.
+                        oid, serial, pre, vdata, p, skiptid = nv
                     else:
                         raise KeyError, oid
                 ver = oversion




More information about the Zope-Checkins mailing list