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

Jeremy Hylton jeremy@zope.com
Thu, 1 Aug 2002 15:28:19 -0400


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

Modified Files:
	ClientCache.py 
Log Message:
Comment twiddling.


=== ZODB3/ZEO/ClientCache.py 1.25 => 1.26 ===
                     except:
                         var = os.getcwd()
 
-            # Get the list of cache file names
             fmt = os.path.join(var, "c%s-%s-%%s.zec" % (storage, client))
+            # Initialize pairs of filenames, file objects, and serialnos.
             self._p = p = [fmt % 0, fmt % 1]
-            # get the list of cache files
             self._f = f = [None, None]
-
-            # initialize cache serial numbers
-            s=['\0\0\0\0\0\0\0\0', '\0\0\0\0\0\0\0\0']
+            s = ['\0\0\0\0\0\0\0\0', '\0\0\0\0\0\0\0\0']
             for i in 0, 1:
                 if os.path.exists(p[i]):
                     fi = open(p[i],'r+b')