Skip to content
Snippets Groups Projects
Commit d0582c0c authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

FIX: quick fix for yamlapi (this is deprecated)

parent c2198c0b
No related branches found
No related tags found
2 merge requests!36RELEASE: 0.6.1,!35F fix compare entities branch2
......@@ -98,7 +98,7 @@ def yaml_to_xml(yamlstr):
The string to load the yaml document from.
"""
return dict_to_xml(yaml.safe_load(yamlstr))
return dict_to_xml(yaml.load(yamlstr, Loader=yaml.SafeLoader))
def process(text):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment