Commit 5e30713c authored by Jeremy Hylton's avatar Jeremy Hylton

Change output format.

Indentation of the 2nd line is a lose, because the 2nd line can be
long.  Instead put a blank line after a record.
parent 551122cc
...@@ -32,8 +32,9 @@ def main(path, ntxn): ...@@ -32,8 +32,9 @@ def main(path, ntxn):
th.read_meta() th.read_meta()
print "%s: hash=%s" % (th.get_timestamp(), print "%s: hash=%s" % (th.get_timestamp(),
binascii.hexlify(hash)) binascii.hexlify(hash))
print " " * l, ("user=%r description=%r length=%d" print ("user=%r description=%r length=%d"
% (th.user, th.descr, th.length)) % (th.user, th.descr, th.length))
print
th = th.prev_txn() th = th.prev_txn()
i -= 1 i -= 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