Add real time log view in GUI
[yardstick.git] / yardstick / benchmark / core / plugin.py
index c8d0865..a741d5e 100644 (file)
@@ -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)