aboutsummaryrefslogtreecommitdiffstats
path: root/util/check_valid.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/check_valid.py')
-rw-r--r--util/check_valid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/check_valid.py b/util/check_valid.py
index e3ad6bcd..e6a72e71 100644
--- a/util/check_valid.py
+++ b/util/check_valid.py
@@ -17,7 +17,7 @@ import traceback
def load_file(file):
with open(file) as fd:
try:
- return yaml.load(fd)
+ return yaml.safe_load(fd)
except:
traceback.print_exc()
return None