Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Apr 22, 2019
1 parent 612a2e1 commit 1805e3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions goodtablesio/integrations/s3/utils/s3client.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ def check_connection(self, bucket_name):
try:
return self.client.head_bucket(Bucket=bucket_name)
except botocore.exceptions.ParamValidationError:
raise S3Exception(
'Invalid bucket name: {}'.format(bucket_name),
's3-invalid-bucket-name')
raise S3Exception(
'Invalid bucket name: {}'.format(bucket_name),
's3-invalid-bucket-name')
except botocore.exceptions.ClientError as e:
if e.response['Error']['Code'] == 'EndpointConnectionError':
raise S3Exception(
Expand Down

0 comments on commit 1805e3e

Please sign in to comment.