Fix tar input deadlock
This commit is contained in:
@@ -53,6 +53,7 @@ class ArchiveFetcher(object):
|
|||||||
cwd=dest_dir)
|
cwd=dest_dir)
|
||||||
for data in resp.iter_content(self._BUF_SIZE):
|
for data in resp.iter_content(self._BUF_SIZE):
|
||||||
tar.stdin.write(data)
|
tar.stdin.write(data)
|
||||||
|
tar.stdin.close()
|
||||||
tar.wait()
|
tar.wait()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user