mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 09:31:13 +00:00
tools: update ss13_genchangelog again
This commit is contained in:
@@ -80,7 +80,7 @@ failed_cache_read = True
|
||||
if os.path.isfile(changelog_cache):
|
||||
try:
|
||||
with open(changelog_cache) as f:
|
||||
(_, all_changelog_entries) = yaml.load_all(f, yaml.FullLoader)
|
||||
(_, all_changelog_entries) = yaml.load_all(f, yaml.SafeLoader)
|
||||
failed_cache_read = False
|
||||
|
||||
# Convert old timestamps to newer format.
|
||||
@@ -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, Loader=yaml.FullLoader)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user