[Zodb-checkins] CVS: ZODB3/ZEO - ClientCache.py:1.34

Jeremy Hylton jeremy@zope.com
Wed, 4 Sep 2002 14:09:15 -0400


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv12113/ZEO

Modified Files:
	ClientCache.py 
Log Message:
Use the correct offset for seek in load().

p can be negative, which merely means the offset is in the other file.


=== ZODB3/ZEO/ClientCache.py 1.33 => 1.34 ===
--- ZODB3/ZEO/ClientCache.py:1.33	Wed Sep  4 14:06:44 2002
+++ ZODB3/ZEO/ClientCache.py	Wed Sep  4 14:09:14 2002
@@ -311,7 +311,7 @@
             v = vheader[:-4]
             if version != v:
                 if dlen:
-                    seek(p+27)
+                    seek(ap+27)
                     data = read(dlen)
                     self._trace(0x2C, oid, version, h[19:], dlen)
                     return data, h[19:]