forked from TrueCloudLab/frostfs-testcases
fix comments
This commit is contained in:
parent
bdffe9d2dc
commit
208602d963
1 changed files with 1 additions and 8 deletions
|
@ -43,11 +43,4 @@ def get_via_http_gate(cid: str, oid: str):
|
||||||
with open(filename, "wb") as f:
|
with open(filename, "wb") as f:
|
||||||
shutil.copyfileobj(resp.raw, f)
|
shutil.copyfileobj(resp.raw, f)
|
||||||
del resp
|
del resp
|
||||||
return filename
|
return filename
|
||||||
|
|
||||||
|
|
||||||
#url = 'http://example.com/img.png'
|
|
||||||
#response = requests.get(url, stream=True)
|
|
||||||
#with open('img.png', 'wb') as out_file:
|
|
||||||
# shutil.copyfileobj(response.raw, out_file)
|
|
||||||
#del response
|
|
Loading…
Reference in a new issue