[Zodb-checkins] CVS: Zope2/lib/python/ZODB - Connection.py:1.52
jeremy@digicool.com
jeremy@digicool.com
Wed, 16 May 2001 16:47:38 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/ZODB
In directory korak.digicool.com:/tmp/cvs-serv5773
Modified Files:
Connection.py
Log Message:
Exit early if the object is not in the cache.
Fix bug reported by John D. Heintz.
--- Updated File Connection.py in package Zope2/lib/python/ZODB --
--- Connection.py 2001/05/10 23:00:14 1.51
+++ Connection.py 2001/05/16 20:47:38 1.52
@@ -630,6 +630,8 @@
assert oid is not None
serial = store_return
obj = self._cache.get(oid, None)
+ if obj is None:
+ return
if serial == ResolvedSerial:
obj._p_changed = None
else: