Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Remove hard-coded region mappings #25

Open
chuwy opened this issue Apr 27, 2017 · 0 comments
Open

Remove hard-coded region mappings #25

chuwy opened this issue Apr 27, 2017 · 0 comments

Comments

@chuwy
Copy link

chuwy commented Apr 27, 2017

S3_REGIONS here maps each Location to the same string (except eu-west-1 which is mapped incorrectly). Instead it just should assure that get_valid_region cannot return empty string:

def get_valid_region(location):
    if not location:
        return 'us-east-1'
    else:
        return location
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant