From 1de8cb7fc9520769f480523291febfef6f9681d5 Mon Sep 17 00:00:00 2001
From: "ivan.kondov" <ivan.kondov@kit.edu>
Date: Wed, 4 Dec 2019 22:05:16 +0100
Subject: [PATCH] safe load due to deprecation warning of pyaml 5.1

---
 bin/yaml2json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/yaml2json b/bin/yaml2json
index 07da03d..5f7243f 100755
--- a/bin/yaml2json
+++ b/bin/yaml2json
@@ -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
-- 
GitLab