From 011c2061dca7a5743078d5f8a7e8c3e35fa24048 Mon Sep 17 00:00:00 2001 From: Rob Nelson Date: Sun, 17 Aug 2014 14:58:42 -0700 Subject: [PATCH] Removal of some debugging. --- makeChangelog.bat | 3 ++- tools/ss13_genchangelog.py | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/makeChangelog.bat b/makeChangelog.bat index 3648a6b428a..f8435715be8 100644 --- a/makeChangelog.bat +++ b/makeChangelog.bat @@ -1 +1,2 @@ -python tools/ss13_genchangelog.py html/changelog.html html/changelogs \ No newline at end of file +call python tools/ss13_genchangelog.py html/changelog.html html/changelogs +pause \ No newline at end of file diff --git a/tools/ss13_genchangelog.py b/tools/ss13_genchangelog.py index cb435bde84b..d02598dbecf 100644 --- a/tools/ss13_genchangelog.py +++ b/tools/ss13_genchangelog.py @@ -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)