Commit c87d28ac authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Merge branch 'feature-store' into develop

parents 4d18c478 b9ca5b73
......@@ -1062,7 +1062,6 @@ class store_download(_store_container_command):
raiseCLIError('No objects prefixed as %s on container %s' % (
self.path,
self.container))
wmode = 'rwb+' if self['resume'] else 'wb+'
progress_bar = None
try:
for lpath, rpath in sorted(outputs):
......@@ -1071,6 +1070,8 @@ class store_download(_store_container_command):
print('Create directory %s' % lpath)
makedirs(lpath)
continue
wmode = 'rwb+' if path.exists(lpath) and self['resume']\
else 'wb+'
print('\nFrom %s:%s to %s' % (
self.container,
rpath,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment