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

Jeremy Hylton jeremy@zope.com
Thu, 12 Sep 2002 17:52:26 -0400


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

Modified Files:
      Tag: ZODB3-3_1-branch
	FileStorage.py 
Log Message:
Backport change from trunk: Remove logging code in FileIterator.


=== ZODB3/ZODB/FileStorage.py 1.100 => 1.100.2.1 ===
--- ZODB3/ZODB/FileStorage.py:1.100	Wed Sep 11 15:55:30 2002
+++ ZODB3/ZODB/FileStorage.py	Thu Sep 12 17:52:21 2002
@@ -2224,7 +2224,6 @@
         read=file.read
         pos=self._pos
 
-        LOG("ZODB FS", BLATHER, "next(%d)" % index)
         while 1:
             # Read the transaction record
             seek(pos)
@@ -2275,10 +2274,6 @@
                          self._file.name, pos)
                     break
 
-            if self._stop is not None:
-                LOG("ZODB FS", BLATHER,
-                    ("tid %x > stop %x ? %d" %
-                     (U64(tid), U64(self._stop), tid > self._stop)))
             if self._stop is not None and tid > self._stop:
                 raise IndexError, index