Commit 1d6c9af7 authored by Pieter Van Trappen's avatar Pieter Van Trappen
Browse files

using yaml SafeLoader, cause of deprecation warning of pyyaml 5.1; see https://msg.pyyaml.org/load

parent 208c658d
......@@ -205,7 +205,7 @@ def parse_array(parent, el):
def parse_yaml(filename):
try:
el = yaml.load(open(filename))
el = yaml.load(open(filename), Loader=yaml.SafeLoader)
except IOError as e:
error("cannot open {}: {}".format(filename, e))
......
Supports Markdown
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