diff --git a/gen_updates2.py b/gen_updates2.py index 51056f9..e0bb6c6 100755 --- a/gen_updates2.py +++ b/gen_updates2.py @@ -144,7 +144,7 @@ def read_revs_dir(path, args, src=None, ret=None): offs = 0 while offs < sz: f.seek(offs, os.SEEK_SET) - hdr = struct.unpack("IiIIIIIIIIII", f.read(48)) + hdr = struct.unpack(" 48: f.seek(hdr[7], os.SEEK_CUR) - ext_tbl = struct.unpack("IIIII", f.read(20)) + ext_tbl = struct.unpack("