fix regression in s3.query from #33682

attempting to pull a list of objects from s3 would fail to return the list of objects
This commit is contained in:
Ethan Moore 2016-06-22 16:26:15 +00:00
parent 37978a1ebe
commit a2b99703b1

View file

@ -137,7 +137,7 @@ def query(key, keyid, method='GET', params=None, headers=None,
verify=verify_ssl,
stream=True)
response = result.content
elif method == 'GET' and not return_bin:
elif method == 'GET' and local_file and not return_bin:
result = requests.request(method,
requesturl,
headers=headers,