Fixed crash when s3 bucket did not exist for put operation

pull/4457/head
Matthew Barrington 11 years ago
parent 3f968ff46a
commit ce0bf71245

@ -371,6 +371,7 @@ def main():
# Lets check to see if bucket exists to get ground truth.
bucketrtn = bucket_check(module, s3, bucket)
if bucketrtn is True:
keyrtn = key_check(module, s3, bucket, obj)
# Lets check key state. Does it exist and if it does, compute the etag md5sum.

Loading…
Cancel
Save