38
40
# TODO: When extracting a single version it'd be enough to just pass
44
47
def write_weave(weave, f, format=None):
45
48
if format == None or format == 1:
48
51
raise ValueError("unknown weave format %r" % format)
52
55
"""Write weave to file f."""