summaryrefslogtreecommitdiff
path: root/openstackclient/api/object_store_v1.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/api/object_store_v1.py')
-rw-r--r--openstackclient/api/object_store_v1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/api/object_store_v1.py b/openstackclient/api/object_store_v1.py
index 184814c6..74c4a46f 100644
--- a/openstackclient/api/object_store_v1.py
+++ b/openstackclient/api/object_store_v1.py
@@ -380,7 +380,7 @@ class APIv1(api.BaseAPI):
if len(os.path.dirname(file)) > 0:
os.makedirs(os.path.dirname(file))
with open(file, 'wb') as f:
- for chunk in response.iter_content():
+ for chunk in response.iter_content(64 * 1024):
f.write(chunk)
def object_set(