aboutsummaryrefslogtreecommitdiffstats
path: root/func/env_setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'func/env_setup.py')
-rw-r--r--func/env_setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/func/env_setup.py b/func/env_setup.py
index 96f984cb..3697f235 100644
--- a/func/env_setup.py
+++ b/func/env_setup.py
@@ -174,7 +174,7 @@ class Env_setup:
def parse(self, config_file_path):
try:
f_name = open(config_file_path, 'r+')
- doc = yaml.load(f_name)
+ doc = yaml.safe_load(f_name)
f_name.close()
if doc['Scenario']['benchmark']:
self.benchmark = doc['Scenario']['benchmark']