[Zope3-checkins] CVS: ZODB4/ZODB - Connection.py:1.92
Jeremy Hylton
jeremy@zope.com
Fri, 13 Dec 2002 17:13:49 -0500
Update of /cvs-repository/ZODB4/ZODB
In directory cvs.zope.org:/tmp/cvs-serv28110/ZODB
Modified Files:
Connection.py
Log Message:
Remove duplicate definition of getVersion().
Replace call of removed _unpickle_object() with _reader.getState().
=== ZODB4/ZODB/Connection.py 1.91 => 1.92 ===
--- ZODB4/ZODB/Connection.py:1.91 Fri Dec 6 12:00:13 2002
+++ ZODB4/ZODB/Connection.py Fri Dec 13 17:13:48 2002
@@ -264,9 +264,6 @@
def cacheMinimize(self, dt=0):
self._cache.minimize(dt)
- def getVersion(self):
- return self._version
-
def invalidate(self, oid):
"""Invalidate a particular oid
@@ -383,7 +380,7 @@
This routine is used by Zope's History facility.
"""
p = self._storage.loadSerial(object._p_oid, serial)
- return self._unpickle_object(p)
+ return self._reader.getState(p)
def savepoint(self, txn):
if self._tmp is None: