Remove redundant EXTERNAL_HOST settings

(imported from commit dcf9709bc5c2a2c3f00410fd1b2849d3ab879fb9)
This commit is contained in:
Zev Benjamin 2013-11-01 12:27:52 -04:00
parent 787215d743
commit 0073014ea9
1 changed files with 0 additions and 10 deletions

View File

@ -22,16 +22,6 @@ TESTING_DEPLOYED = DEPLOYED and config_file.get('machine', 'deploy_type') == 'te
LOCAL_SERVER = DEPLOYED and config_file.get('machine', 'deploy_type') == 'local'
# TODO: Clean this up
if TESTING_DEPLOYED:
EXTERNAL_HOST = platform.node()
elif STAGING_DEPLOYED:
EXTERNAL_HOST = 'staging.zulip.com'
elif DEPLOYED:
EXTERNAL_HOST = 'zulip.com'
else:
EXTERNAL_HOST = 'localhost:9991'
# Import variables like secrets from the local_settings file
# Import local_settings after determining the deployment/machine type
from local_settings import *