Commit 0dd3ea0c authored by Jeremy Hylton's avatar Jeremy Hylton

Fix a couple references to U64 (now u64).

parent acad480e
...@@ -104,7 +104,7 @@ def read_transaction_header(file, pos, file_size): ...@@ -104,7 +104,7 @@ def read_transaction_header(file, pos, file_size):
tid, stl, status, ul, dl, el = unpack(">8s8scHHH",h) tid, stl, status, ul, dl, el = unpack(">8s8scHHH",h)
if el < 0: el=t32-el if el < 0: el=t32-el
tl=U64(stl) tl=u64(stl)
if status=='c': raise EOFError if status=='c': raise EOFError
...@@ -293,7 +293,7 @@ def recover(inp, outp, verbose=0, partial=0, force=0, pack=0): ...@@ -293,7 +293,7 @@ def recover(inp, outp, verbose=0, partial=0, force=0, pack=0):
for r in transaction: for r in transaction:
oid = r.oid oid = r.oid
if verbose > 1: if verbose > 1:
print U64(oid), r.version, len(r.data) print u64(oid), r.version, len(r.data)
pre = preindex.get(oid) pre = preindex.get(oid)
s = ofs.store(oid, pre, r.data, r.version, transaction) s = ofs.store(oid, pre, r.data, r.version, transaction)
preindex[oid] = s preindex[oid] = s
......
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