Remove duplicate YAML loading of environment variables.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-10-12 03:10:09 -04:00
parent 417fc8f766
commit 38c84de708
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
==================
* Fix an issue with some browsers not firing the .load event on cached
images. Ref: http://api.jquery.com/load-event/
* Remove duplicate YAML loading of environment variables.
3.1.6 (2018-10-09)
==================

View File

@@ -151,7 +151,7 @@ class Setting(object):
if environment_value:
self.environment_variable = True
try:
self.raw_value = yaml.safe_load(environment_value)
self.raw_value = environment_value
except yaml.YAMLError as exception:
raise type(exception)(
'Error interpreting environment variable: {} with '