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

Barry Warsaw barry@wooz.org
Thu, 24 Oct 2002 09:52:41 -0400


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

Modified Files:
	DemoStorage.py 
Log Message:
abortVersion(): Small fix so this passes
checkCreateObjectInVersionWithAbort().


=== ZODB3/ZODB/DemoStorage.py 1.14 => 1.15 ===
--- ZODB3/ZODB/DemoStorage.py:1.14	Wed Aug 28 14:48:59 2002
+++ ZODB3/ZODB/DemoStorage.py	Thu Oct 24 09:52:41 2002
@@ -141,8 +141,8 @@
             oids = []
             for r in v.values():
                 oid, serial, pre, (version, nv), p = r
+                oids.append(oid)
                 if nv:
-                    oids.append(oid)
                     oid, serial, pre, vdata, p = nv
                     self._tindex.append([oid, serial, r, None, p])
                 else: