X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Fbenchmark%2Fcore%2Fplugin.py;h=a741d5e74ffcf0e22bbb53d3b9f619d8a6a785cf;hb=43bf12d6ab7bcaea16dc75ed4ccbe3895cf51da3;hp=c8d0865d14fb10c1b5bf1e3975bfe0e72db24576;hpb=7397f294a448223f8db31404e2d0294065f6f246;p=yardstick.git 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)