Created
March 5, 2014 00:19
-
-
Save acarmisc/9358689 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def localstoreSettings(self): | |
db_url = os.environ['OPENSHIFT_MONGODB_DB_URL'] | |
app_name = os.environ['OPENSHIFT_APP_NAME'] | |
data = {'db_url': db_url, 'app_name': app_name} | |
return data | |
def amazonSettings(self): | |
key = os.environ['AMAZON_KEY'] | |
secret = os.environ['AMAZON_SECRET'] | |
code = os.environ['AMAZON_CODE'] | |
data = {'key': key, | |
'secret': secret, | |
'code': code | |
} | |
return data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment