[Zodb-checkins] CVS: ZODB3/Tools - fstest.py:1.9
Jeremy Hylton
jeremy at zope.com
Tue Apr 22 14:58:25 EDT 2003
Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv5618/Tools
Modified Files:
fstest.py
Log Message:
Explain more of what went wrong in failure case.
=== ZODB3/Tools/fstest.py 1.8 => 1.9 ===
--- ZODB3/Tools/fstest.py:1.8 Mon Jan 20 11:32:39 2003
+++ ZODB3/Tools/fstest.py Tue Apr 22 13:58:24 2003
@@ -188,8 +188,9 @@
file.seek(vlen, 1) # skip the version data
if tloc != tpos:
- raise FormatError("%s data record exceeds transaction record"
- "at %s" % (path, pos))
+ raise FormatError("%s data record exceeds transaction record "
+ "at %s: tloc %d != tpos %d" %
+ (path, pos, tloc, tpos))
pos = pos + dlen
# XXX is the following code necessary?
More information about the Zodb-checkins
mailing list