From a29d17b0bd0f1a91f220a65b5d298abaf89625c3 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Mon, 15 May 2017 18:22:13 -0700 Subject: [PATCH] Actually write the output :( --- distribute.py | 1 + 1 file changed, 1 insertion(+) diff --git a/distribute.py b/distribute.py index ed0d659..e213f1f 100755 --- a/distribute.py +++ b/distribute.py @@ -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):