diff options
author | 2016-09-21 14:13:58 +0000 | |
---|---|---|
committer | 2016-09-21 14:13:59 +0000 | |
commit | 4523fd8c90acf923a526cae390922c1dbcd6220e (patch) | |
tree | 641b5aaeefcfff9ba567b427aa6481255e22850b /lib/python/apex/network_settings.py | |
parent | 8b6af178a5987f16325771691bde5956111cda01 (diff) | |
parent | b6bda2fe154d067084a99733f42663252ff9b399 (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.py | 2 |
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 |