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/network_environment.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/network_environment.py')
-rw-r--r-- | lib/python/apex/network_environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/apex/network_environment.py b/lib/python/apex/network_environment.py index 175f408f..15fe873f 100644 --- a/lib/python/apex/network_environment.py +++ b/lib/python/apex/network_environment.py @@ -59,7 +59,7 @@ class NetworkEnvironment(dict): init_dict = {} if type(filename) is str: with open(filename, 'r') as net_env_fh: - init_dict = yaml.load(net_env_fh) + init_dict = yaml.safe_load(net_env_fh) super().__init__(init_dict) try: |