from os.path import isfile, join, splitext
from re import findall, DOTALL, MULTILINE
from sys import stderr
-from yaml import load, safe_dump
+from yaml import safe_load, safe_dump
from daklib import utils
from daklib.dbconn import DBConn, get_suite_architectures, Suite, Architecture
global stats
try:
with open(yaml, 'r') as fd:
- stats = load(fd)
+ stats = safe_load(fd)
except IOError:
pass
if not stats: