Browse code

Merge pull request #994 from harshavardhana/no-need

Do not convert all regions to lower case

Florent Viard authored on 2018/09/06 18:54:52
Showing 1 changed files
... ...
@@ -382,8 +382,6 @@ class S3(object):
382 382
             bucket_location = bucket_location.strip()
383 383
             if bucket_location.upper() == "EU":
384 384
                 bucket_location = bucket_location.upper()
385
-            else:
386
-                bucket_location = bucket_location.lower()
387 385
             body  = "<CreateBucketConfiguration><LocationConstraint>"
388 386
             body += bucket_location
389 387
             body += "</LocationConstraint></CreateBucketConfiguration>"