Skip to content
Snippets Groups Projects
Commit 1de8cb7f authored by Ivan Kondov's avatar Ivan Kondov
Browse files

safe load due to deprecation warning of pyaml 5.1

parent ed5ffcd1
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,5 @@ import json
import yaml
import sys
json.dump(yaml.load(sys.stdin), sys.stdout, indent=4, separators=(',', ': '))
json.dump(yaml.load(sys.stdin, Loader=yaml.SafeLoader), sys.stdout, indent=4,
separators=(',', ': '))
\ No newline at end of file
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