[Zodb-checkins] CVS: ZODB3/ZODB - FileStorage.py:1.97

Jeremy Hylton jeremy@zope.com
Wed, 28 Aug 2002 12:41:33 -0400


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv1391

Modified Files:
	FileStorage.py 
Log Message:
Add some whitespace and remove some commented out code.


=== ZODB3/ZODB/FileStorage.py 1.96 => 1.97 ===
--- ZODB3/ZODB/FileStorage.py:1.96	Wed Aug 28 09:28:17 2002
+++ ZODB3/ZODB/FileStorage.py	Wed Aug 28 12:41:32 2002
@@ -489,8 +489,8 @@
             self._file.seek(srcpos)
             h = self._file.read(DATA_VERSION_HDR_LEN)
             # h -> oid, serial, prev(oid), tloc, vlen, plen, pnv, pv
-            oid=h[:8]
-            pnv=h[-16:-8]
+            oid = h[:8]
+            pnv = h[-16:-8]
             if self._index.get(oid) == srcpos:
                 # This is a current record!
                 self._tindex[oid] = here
@@ -2098,9 +2098,6 @@
 
 
 def _loadBack(file, oid, back):
-##    seek=file.seek
-##    read=file.read
-
     while 1:
         old = U64(back)
         if not old: