Commit effe0b91 authored by Tim Peters's avatar Tim Peters

Removed unreferenced debugging code.

parent b427cc0f
...@@ -50,7 +50,6 @@ def fsdump(path, file=None, with_offset=1): ...@@ -50,7 +50,6 @@ def fsdump(path, file=None, with_offset=1):
print >> file, "\toffset=%d status=%s user=%s description=%s" % \ print >> file, "\toffset=%d status=%s user=%s description=%s" % \
(trans._tpos, `trans.status`, trans.user, trans.description) (trans._tpos, `trans.status`, trans.user, trans.description)
j = 0 j = 0
tsize = 0
for rec in trans: for rec in trans:
if rec.data is None: if rec.data is None:
fullclass = "undo or abort of object creation" fullclass = "undo or abort of object creation"
...@@ -84,7 +83,6 @@ def fsdump(path, file=None, with_offset=1): ...@@ -84,7 +83,6 @@ def fsdump(path, file=None, with_offset=1):
size += DATA_VERSION_HDR_LEN size += DATA_VERSION_HDR_LEN
else: else:
size += DATA_HDR_LEN size += DATA_HDR_LEN
tsize += size
print >> file, " data #%05d oid=%016x %sclass=%s size=%d %s" % \ print >> file, " data #%05d oid=%016x %sclass=%s size=%d %s" % \
(j, u64(rec.oid), version, fullclass, size, bp) (j, u64(rec.oid), version, fullclass, size, bp)
j += 1 j += 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment