[Zodb-checkins] CVS: Packages/ZEO - ClientCache.py:1.14.4.3

jeremy@digicool.com jeremy@digicool.com
Thu, 19 Apr 2001 15:18:22 -0400 (EDT)


Update of /cvs-repository/Packages/ZEO
In directory korak:/tmp/cvs-serv24680

Modified Files:
      Tag: ZEO-ZRPC-Dev
	ClientCache.py 
Log Message:
Gotcha.  The bare 'None' should have been a 'return None', otherwise
the cache will return data from version X whenever versioned data is
requested, regardless of whether the version in question is X.



--- Updated File ClientCache.py in package Packages/ZEO --
--- ClientCache.py	2001/04/18 20:52:33	1.14.4.2
+++ ClientCache.py	2001/04/19 19:18:20	1.14.4.3
@@ -295,7 +295,8 @@
                 if dlen:
                     seek(-dlen-vlen, 1)
                     return read(dlen), h[19:]
-                else: None
+                else:
+                    return None
 
             dlen=unpack(">i", read(4))[0]
             return read(dlen), read(8)