projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
16434: the python3-arvados-cwl-runner packages on Debian 10 and Ubuntu
[arvados.git]
/
sdk
/
cwl
/
arvados_cwl
/
http.py
diff --git
a/sdk/cwl/arvados_cwl/http.py
b/sdk/cwl/arvados_cwl/http.py
index ccc2e793b067f4e0853da275947a08d3630723a3..47a304372c58a27ecde8d8c13bb55d6435f9cf79 100644
(file)
--- a/
sdk/cwl/arvados_cwl/http.py
+++ b/
sdk/cwl/arvados_cwl/http.py
@@
-132,7
+132,7
@@
def http_to_keep(api, project_uuid, url, utcnow=datetime.datetime.utcnow):
count = 0
start = time.time()
checkpoint = start
count = 0
start = time.time()
checkpoint = start
- with c.open(name, "w") as f:
+ with c.open(name, "w
b
") as f:
for chunk in req.iter_content(chunk_size=1024):
count += len(chunk)
f.write(chunk)
for chunk in req.iter_content(chunk_size=1024):
count += len(chunk)
f.write(chunk)