Skip to content

Commit

Permalink
Make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange authored Sep 22, 2023
1 parent e28a813 commit 1478b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smart_open/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ def _retry_if_failed(
)
time.sleep(sleep_seconds)
except botocore.exceptions.ClientError as err:
error_code = err.response['Error'].get('Code')
error_code = err.response['Error'].get('Code')
if error_code not in client_error_codes:
raise
msg = client_error_codes[error_code]
Expand Down

0 comments on commit 1478b95

Please sign in to comment.