Skip to content

Commit

Permalink
fixes some formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ubaskota committed Nov 12, 2024
1 parent 72557dc commit 48cb4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ coverage.xml
venv
env2
env3
boto3_venv/


# Virtualenv support files and directories
.python-version
Expand Down
4 changes: 2 additions & 2 deletions docs/source/guide/s3-example-creating-buckets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ or to address regulatory requirements.
try:
bucket_config = {}
s3_client = boto3.client('s3', region_name=region)
if region != "us-east-1":
bucket_config["CreateBucketConfiguration"] = {"LocationConstraint": region}
if region != 'us-east-1':
bucket_config['CreateBucketConfiguration'] = {'LocationConstraint': region}
s3_client.create_bucket(Bucket=bucket_name, **bucket_config)
except ClientError as e:
Expand Down

0 comments on commit 48cb4b9

Please sign in to comment.