|
|
@@ -124,7 +124,7 @@ class S3FileSystem(object):
|
|
|
# We change location to default to fix issue
|
|
|
# More information: https://github.com/boto/boto3/issues/125
|
|
|
|
|
|
- if 'location' in kwargs and kwargs['location'] == Location.USEast:
|
|
|
+ if kwargs.get('location') == Location.USEast:
|
|
|
kwargs['location'] = Location.DEFAULT
|
|
|
|
|
|
return self._s3_connection.create_bucket(name, **kwargs)
|