Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix S3ClientProvider bug in _upload_or_copy_file (bug in 3.1.9 release) #1512

Merged
merged 1 commit into from
Jan 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/python/quilt3/data_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def _upload_or_copy_file(ctx, size, src_path, dest_bucket, dest_path):
params = dict(Bucket=dest_bucket, Key=dest_path)
s3_client = ctx.s3_client_provider.find_correct_client(S3Api.HEAD_OBJECT, dest_bucket, params)
resp = s3_client.head_object(**params)
except S3NoValidClientError:
except ClientError:
# Destination doesn't exist, so fall through to the normal upload.
pass
else:
Expand Down