[Zodb-checkins] CVS: ZODB3/Tools - repozo.py:1.1.2.5
Tim Peters
tim.one at comcast.net
Sat Aug 16 20:28:29 EDT 2003
Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv11297/Tools
Modified Files:
Tag: ZODB3-3_1-branch
repozo.py
Log Message:
scandat(): The logic was still wrong if the .dat file was empty.
Repaired, but still untested.
=== ZODB3/Tools/repozo.py 1.1.2.4 => 1.1.2.5 ===
--- ZODB3/Tools/repozo.py:1.1.2.4 Sat Aug 16 19:24:59 2003
+++ ZODB3/Tools/repozo.py Sat Aug 16 19:28:24 2003
@@ -323,6 +323,9 @@
# We only care about the last one.
fn, startpos, endpos, sum = line.split()
fp.close()
+
+ if startpos is not None:
+ assert endpos is not None
startpos = long(startpos)
endpos = long(endpos)
return fn, startpos, endpos, sum
More information about the Zodb-checkins
mailing list