Actually write the output :(

This commit is contained in:
Steven Robertson 2017-05-15 18:22:13 -07:00
parent 112a674520
commit a29d17b0bd

View File

@ -67,6 +67,7 @@ def copy_filelike(infp, dst):
chunk = infp.read(chunk_sz)
assert len(chunk) == chunk_sz, (
'Incomplete chunk, expected %d (%s)got %d' % (sz, `sz_buf`, len(chunk)))
dst.write(chunk)
recvd += len(chunk)
def work(args):