replace yaml.load with yaml.safe_load 17/38017/4
authorRoss Brattain <ross.b.brattain@intel.com>
Sat, 22 Jul 2017 22:15:13 +0000 (15:15 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 1 Aug 2017 15:02:08 +0000 (15:02 +0000)
commit683fb00d41ed6a0a353cb1738b29216c05cd976e
tree8deed29bc30c0627ef6461e4899e7a72254bbc90
parent90e5786f6e5bd3235e3d1c307782b8cae9d7b958
replace yaml.load with yaml.safe_load

yaml.safe_load is safer, obviously.

anteater will check for this

template_format use specialized constructor based on yaml.SafeLoader

JIRA: YARDSTICK-760

Change-Id: Ia3b0b3aa0765385a0ee472a4d83f49d424b5a77f
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
api/resources/v1/env.py
yardstick/benchmark/core/plugin.py
yardstick/benchmark/core/task.py
yardstick/benchmark/core/testcase.py
yardstick/benchmark/scenarios/availability/attacker/baseattacker.py
yardstick/benchmark/scenarios/availability/monitor/basemonitor.py
yardstick/benchmark/scenarios/availability/operation/baseoperation.py
yardstick/benchmark/scenarios/availability/result_checker/baseresultchecker.py
yardstick/common/template_format.py