Issue #3079: Initializing key_exists in case the S3 bucket does not exist

reviewable/pr18780/r1
Shahar Kedar 12 years ago
parent 636f1ed794
commit f1638c5eea

@ -174,6 +174,7 @@ def main():
key_name = dest key_name = dest
# Check to see if the key already exists # Check to see if the key already exists
key_exists = False
if bucket_exists is True: if bucket_exists is True:
try: try:
key_check = bucket.get_key(key_name) key_check = bucket.get_key(key_name)

Loading…
Cancel
Save