sw/pulp-runtime: Fix yaml loader regression

This commit is contained in:
bluew 2023-05-19 18:41:52 +02:00
parent b6daa819ca
commit b5e8fff0fa

View file

@ -246,7 +246,7 @@ the pyyaml library which is not installed.""",
file=sys.stderr)
exit(1)
with open(args.test_file) as f:
testyaml = yaml.load(f)
testyaml = yaml.safe_load(f)
for testsetname, testv in testyaml.items():
for testname, insn in testv.items():
cmd = shlex.split(insn['command'])