tools: update ss13_genchangelog to use yaml safeloder

This commit is contained in:
Werner
2022-11-01 01:47:53 +01:00
parent 2eff86befe
commit 2ad076f697
+1 -1
View File
@@ -152,7 +152,7 @@ for fileName in glob.glob(os.path.join(args.ymlDir, "*.yml")):
print(' Reading {}...'.format(fileName))
cl = {}
with open(fileName, 'r') as f:
cl = yaml.load(f)
cl = yaml.load(f, Loader=yaml.SafeLoader)
f.close()
if cl['author'] == 'ChangeMe':
print(' {0}: Invalid author {1}'.format(fileName, cl['author']), file=sys.stderr)