Skip to content
Snippets Groups Projects
Commit 48496e4e authored by florian's avatar florian
Browse files

FIX: Replace yaml.load by yaml.safe_load in yamlapi.py

parent 2b966b68
No related branches found
No related tags found
1 merge request!33MAINT: change arguments of create_user
Pipeline #15074 passed
...@@ -98,7 +98,7 @@ def yaml_to_xml(yamlstr): ...@@ -98,7 +98,7 @@ def yaml_to_xml(yamlstr):
The string to load the yaml document from. The string to load the yaml document from.
""" """
return dict_to_xml(yaml.load(yamlstr)) return dict_to_xml(yaml.safe_load(yamlstr))
def process(text): 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