Skip to content

Commit 5a458b6

Browse files
committed
mypy fixes
1 parent aced935 commit 5a458b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/athena/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def create_athena_bucket(boto3_session: boto3.Session | None = None) -> str:
457457
args = {} if region_name == "us-east-1" else {"CreateBucketConfiguration": {"LocationConstraint": region_name}}
458458
try:
459459
client_s3.create_bucket(Bucket=bucket_name, **args) # type: ignore[arg-type]
460-
except (client_s3.exceptions.BucketAlreadyExists, client_s3.exceptions.BucketAlreadyOwnedByYou) as err:
460+
except (client_s3.exceptions.BucketAlreadyExists, client_s3.exceptions.BucketAlreadyOwnedByYou):
461461
_logger.debug("Bucket %s already exists.", bucket_name)
462462
except botocore.exceptions.ClientError as err:
463463
if err.response["Error"]["Code"] == "OperationAborted":

0 commit comments

Comments
 (0)