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