mirror of https://github.com/pypa/pip
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
7483a2456e
commit
de6d66414a
|
@ -136,7 +136,7 @@ class Downloader:
|
||||||
if data:
|
if data:
|
||||||
resp = adapter.controller.serializer.loads(None, data)
|
resp = adapter.controller.serializer.loads(None, data)
|
||||||
filepath = os.path.join(location, link.filename)
|
filepath = os.path.join(location, link.filename)
|
||||||
with open(filepath, 'wb') as content_file:
|
with open(filepath, "wb") as content_file:
|
||||||
content_file.write(resp.data)
|
content_file.write(resp.data)
|
||||||
return filepath
|
return filepath
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
Loading…
Reference in New Issue