Remove duplicate YAML loading of environment variables.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
==================
|
==================
|
||||||
* Fix an issue with some browsers not firing the .load event on cached
|
* Fix an issue with some browsers not firing the .load event on cached
|
||||||
images. Ref: http://api.jquery.com/load-event/
|
images. Ref: http://api.jquery.com/load-event/
|
||||||
|
* Remove duplicate YAML loading of environment variables.
|
||||||
|
|
||||||
3.1.6 (2018-10-09)
|
3.1.6 (2018-10-09)
|
||||||
==================
|
==================
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ class Setting(object):
|
|||||||
if environment_value:
|
if environment_value:
|
||||||
self.environment_variable = True
|
self.environment_variable = True
|
||||||
try:
|
try:
|
||||||
self.raw_value = yaml.safe_load(environment_value)
|
self.raw_value = environment_value
|
||||||
except yaml.YAMLError as exception:
|
except yaml.YAMLError as exception:
|
||||||
raise type(exception)(
|
raise type(exception)(
|
||||||
'Error interpreting environment variable: {} with '
|
'Error interpreting environment variable: {} with '
|
||||||
|
|||||||
Reference in New Issue
Block a user