diff --git a/.gitignore b/.gitignore index 7ea6ff39d8..b4e0995060 100644 --- a/.gitignore +++ b/.gitignore @@ -18,8 +18,6 @@ coverage.xml venv env2 env3 -boto3_venv/ - # Virtualenv support files and directories .python-version diff --git a/docs/source/guide/s3-example-creating-buckets.rst b/docs/source/guide/s3-example-creating-buckets.rst index e137d5baec..57a9ba8e8c 100644 --- a/docs/source/guide/s3-example-creating-buckets.rst +++ b/docs/source/guide/s3-example-creating-buckets.rst @@ -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: