Page MenuHomeSoftware Heritage

D738.id2316.diff
No OneTemporary

D738.id2316.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
Wed, Dec 18, 2:26 AM (2 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220409

Event Timeline