Merge "Remove unnecessary f.close()"

This commit is contained in:
Jenkins
2017-02-06 11:56:10 +00:00
committed by Gerrit Code Review

View File

@@ -55,7 +55,6 @@ for fractal in data['objects']:
for chunk in r.iter_content(chunk_size=1024):
if chunk:
f.write(chunk)
f.close()
conn.create_object(container=container_name, name=fractal['uuid'])
for object in conn.list_objects(container_name):