summaryrefslogtreecommitdiff
path: root/bin/swift
diff options
context:
space:
mode:
authorDavid Goetz <dpgoetz@gmail.com>2013-05-13 07:37:15 -0700
committerDavid Goetz <dpgoetz@gmail.com>2013-05-13 07:37:15 -0700
commitadebab739d0101d32d3e8f984a544742ab4bc456 (patch)
tree19123b4c7c595773846f45c9638c5ff2620cebba /bin/swift
parent3196daf9929eef25d69d47592beef4cd31573b80 (diff)
downloadpython-swiftclient-adebab739d0101d32d3e8f984a544742ab4bc456.tar.gz
do not warn about etag for slo
Change-Id: I17fa1643f28aa1cd160c2d770243875a3c4a80ee
Diffstat (limited to 'bin/swift')
-rwxr-xr-xbin/swift6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/swift b/bin/swift
index 838163b..f43e5fd 100755
--- a/bin/swift
+++ b/bin/swift
@@ -398,7 +398,8 @@ def st_download(parser, args, print_queue, error_queue):
if make_dir and not isdir(path):
mkdirs(path)
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()
for chunk in body:
read_length += len(chunk)
@@ -416,7 +417,8 @@ def st_download(parser, args, print_queue, error_queue):
else:
fp = open(path, 'wb')
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()
for chunk in body:
if not options.no_download: