Created
May 23, 2014 13:18
-
-
Save pavelk2/ef875bbd83335dd515e4 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
import os | |
import socket | |
hostname = socket.gethostname() | |
print '----------------------------------' | |
print hostname | |
if hostname == "Codesign": | |
from settings_digitalocean import * | |
elif 'VCAP_SERVICES' in os.environ: | |
from settings_appfog import * | |
else: | |
from settings_local import * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment