summaryrefslogtreecommitdiffstats
path: root/lib/python/apex/network_settings.py
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-09-21 14:13:58 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-21 14:13:59 +0000
commit4523fd8c90acf923a526cae390922c1dbcd6220e (patch)
tree641b5aaeefcfff9ba567b427aa6481255e22850b /lib/python/apex/network_settings.py
parent8b6af178a5987f16325771691bde5956111cda01 (diff)
parentb6bda2fe154d067084a99733f42663252ff9b399 (diff)
Merge "Handling file loads and tmp dirs differently"
Diffstat (limited to 'lib/python/apex/network_settings.py')
-rw-r--r--lib/python/apex/network_settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/apex/network_settings.py b/lib/python/apex/network_settings.py
index ca91b8cf..8e39afd6 100644
--- a/lib/python/apex/network_settings.py
+++ b/lib/python/apex/network_settings.py
@@ -42,7 +42,7 @@ class NetworkSettings(dict):
init_dict = {}
if type(filename) is str:
with open(filename, 'r') as network_settings_file:
- init_dict = yaml.load(network_settings_file)
+ init_dict = yaml.safe_load(network_settings_file)
else:
# assume input is a dict to build from
init_dict = filename