Skip to content

Commit 2e2b641

Browse files
committed
flake8/linter fixes
1 parent 89592b0 commit 2e2b641

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/workbench/core/cloud_platform/aws/aws_account_clamp.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ def check_workbench_bucket(self) -> bool:
113113
self.log.info(f"The {self.workbench_bucket_name} bucket exists and is accessible")
114114
return True
115115
except ClientError as e:
116-
error_code = e.response['Error']['Code']
117-
if error_code == '404':
116+
error_code = e.response["Error"]["Code"]
117+
if error_code == "404":
118118
self.log.critical(f"The {self.workbench_bucket_name} bucket does not exist")
119-
elif error_code == '403':
119+
elif error_code == "403":
120120
self.log.critical(f"Access denied to {self.workbench_bucket_name} bucket")
121121
else:
122122
self.log.error(f"Error checking S3 bucket: {e}")

0 commit comments

Comments
 (0)