diff options
author | Dan Radez <dradez@redhat.com> | 2016-09-19 15:06:43 -0400 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2016-09-20 14:24:17 -0400 |
commit | b6bda2fe154d067084a99733f42663252ff9b399 (patch) | |
tree | 17f614866d74c4c805373967cef0a837bf8c0ccc /lib/python/apex/deploy_settings.py | |
parent | 58bc90d143303c1f9d4e9f174294f71dfa8303d6 (diff) |
Handling file loads and tmp dirs differently
Change-Id: I602279b30b035cfc667e4ee9b83905a638440abb
Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib/python/apex/deploy_settings.py')
-rw-r--r-- | lib/python/apex/deploy_settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/apex/deploy_settings.py b/lib/python/apex/deploy_settings.py index b70efdac..c27eecf9 100644 --- a/lib/python/apex/deploy_settings.py +++ b/lib/python/apex/deploy_settings.py @@ -40,7 +40,7 @@ class DeploySettings(dict): init_dict = {} if type(filename) is str: with open(filename, 'r') as deploy_settings_file: - init_dict = yaml.load(deploy_settings_file) + init_dict = yaml.safe_load(deploy_settings_file) else: # assume input is a dict to build from init_dict = filename |