do not warn about etag for slo
Change-Id: I17fa1643f28aa1cd160c2d770243875a3c4a80ee
This commit is contained in:
parent
3196daf992
commit
adebab739d
@ -398,7 +398,8 @@ def st_download(parser, args, print_queue, error_queue):
|
|||||||
if make_dir and not isdir(path):
|
if make_dir and not isdir(path):
|
||||||
mkdirs(path)
|
mkdirs(path)
|
||||||
read_length = 0
|
read_length = 0
|
||||||
if 'x-object-manifest' not in headers:
|
if 'x-object-manifest' not in headers and \
|
||||||
|
'x-static-large-object' not in headers:
|
||||||
md5sum = md5()
|
md5sum = md5()
|
||||||
for chunk in body:
|
for chunk in body:
|
||||||
read_length += len(chunk)
|
read_length += len(chunk)
|
||||||
@ -416,7 +417,8 @@ def st_download(parser, args, print_queue, error_queue):
|
|||||||
else:
|
else:
|
||||||
fp = open(path, 'wb')
|
fp = open(path, 'wb')
|
||||||
read_length = 0
|
read_length = 0
|
||||||
if 'x-object-manifest' not in headers:
|
if 'x-object-manifest' not in headers and \
|
||||||
|
'x-static-large-object' not in headers:
|
||||||
md5sum = md5()
|
md5sum = md5()
|
||||||
for chunk in body:
|
for chunk in body:
|
||||||
if not options.no_download:
|
if not options.no_download:
|
||||||
|
Loading…
Reference in New Issue
Block a user