bump utils to 13.1.0

brings in changes to allow logging json to sdout on cloudfoundry boxes
This commit is contained in:
Leo Hemsted
2017-01-09 19:14:04 +00:00
committed by bandesz
parent 54af97767f
commit 88b848a4a3
6 changed files with 40 additions and 13 deletions

View File

@@ -77,11 +77,7 @@ def create_app():
application = Flask(__name__)
if os.getenv('VCAP_APPLICATION') is not None:
vcap_application = json.loads(os.environ.get('VCAP_APPLICATION'))
notify_environment = vcap_application['space_name']
else:
notify_environment = os.environ['NOTIFY_ENVIRONMENT']
notify_environment = os.environ['NOTIFY_ENVIRONMENT']
application.config.from_object(configs[notify_environment])