[Zodb-checkins] CVS: ZODB3/Tools - repozo.py:1.5
Barry Warsaw
barry@wooz.org
Mon, 7 Apr 2003 17:51:36 -0400
Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv20404
Modified Files:
repozo.py
Log Message:
dofile(): Add the length of the data read from the file to the
bytesread accumulator, not the chunklen which is the number of bytes
we wanted to read.
=== ZODB3/Tools/repozo.py 1.4 => 1.5 ===
--- ZODB3/Tools/repozo.py:1.4 Thu Feb 6 19:01:57 2003
+++ ZODB3/Tools/repozo.py Mon Apr 7 17:51:36 2003
@@ -197,7 +197,7 @@
if not data:
break
func(data)
- bytesread += chunklen
+ bytesread += len(data)
return bytesread