Removal of some debugging.

This commit is contained in:
Rob Nelson
2014-08-17 14:58:42 -07:00
parent c02a75bc6e
commit 011c2061dc
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +1,2 @@
python tools/ss13_genchangelog.py html/changelog.html html/changelogs
call python tools/ss13_genchangelog.py html/changelog.html html/changelogs
pause

View File

@@ -116,7 +116,7 @@ if failed_cache_read and os.path.isfile(args.targetFile):
val = changeT.decode_contents(formatter="html")
newdat = {changeT['class'][0] + '': val + ''}
if newdat not in changes:
changes += [unicode(newdat)]
changes += [newdat]
if len(changes) > 0:
entry[author] = changes
@@ -190,5 +190,4 @@ with open(args.targetFile.replace('.htm', '.dry.htm') if args.dryRun else args.t
with open(changelog_cache, 'w') as f:
cache_head = 'DO NOT EDIT THIS FILE BY HAND! AUTOMATICALLY GENERATED BY ss13_genchangelog.py.'
# print(repr(all_changelog_entries))
yaml.dump_all([cache_head, all_changelog_entries], f, default_flow_style=False)