Commit 745b03ba authored by James Clark's avatar James Clark
Browse files

Specify yaml.SafeLoader

parent a0ed2490
Pipeline #78972 passed with stages
in 59 seconds
......@@ -241,7 +241,7 @@ def get_rsets(configyml):
# FIXME: The YAML should really have a well-defined schema. We should also
# write out a copy the YAML file so we know what was run.
with open(configyml, 'r') as stream:
rset = yaml.load(stream)
rset = yaml.load(stream, Loader=yaml.SafeLoader)
return rset
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment