[Zope3-checkins] CVS: Zope3/src/zodb/storage - demo.py:1.7

Barry Warsaw barry@wooz.org
Tue, 8 Apr 2003 10:50:08 -0400


Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv3758

Modified Files:
	demo.py 
Log Message:
__init__(): Initialize self._oid from the backing storage.


=== Zope3/src/zodb/storage/demo.py 1.6 => 1.7 ===
--- Zope3/src/zodb/storage/demo.py:1.6	Thu Apr  3 16:45:06 2003
+++ Zope3/src/zodb/storage/demo.py	Tue Apr  8 10:50:07 2003
@@ -47,6 +47,7 @@
         # After initializing the memory storage, be sure to initialize the
         # last transaction id from the backing storage.
         self._ltid = self._back.lastTransaction()
+        self._oid = self._back.lastObjectId()
 
     def close(self):
         self._back.close()