Page MenuHomeSoftware Heritage

D738.id2317.diff
No OneTemporary

D738.id2317.diff

diff --git a/swh/loader/pypi/client.py b/swh/loader/pypi/client.py
--- a/swh/loader/pypi/client.py
+++ b/swh/loader/pypi/client.py
@@ -290,7 +290,7 @@
h = hashutil.MultiHash(length=length)
with open(filepath, 'wb') as f:
- for chunk in r.iter_content():
+ for chunk in r.iter_content(chunk_size=None):
h.update(chunk)
f.write(chunk)

File Metadata

Mime Type
text/plain
Expires
Dec 21 2024, 6:53 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220409

Event Timeline