aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/core/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/benchmark/core/plugin.py')
-rw-r--r--yardstick/benchmark/core/plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/core/plugin.py b/yardstick/benchmark/core/plugin.py
index c8d0865d1..a741d5e74 100644
--- a/yardstick/benchmark/core/plugin.py
+++ b/yardstick/benchmark/core/plugin.py
@@ -153,7 +153,7 @@ class PluginParser(object):
raise e
print("Input plugin is:\n%s\n" % rendered_plugin)
- cfg = yaml.load(rendered_plugin)
+ cfg = yaml.safe_load(rendered_plugin)
except IOError as ioerror:
sys.exit(ioerror)