Another tweak to the change log

This commit is contained in:
Adubbz 2013-09-24 10:49:20 +10:00
parent 4cb390eb9b
commit 317908a094

View file

@ -96,7 +96,7 @@ def make_changelog(job_path, target_build, change_file, current_version=None):
for comment in comments: for comment in comments:
log.append('\t\t' + comment) log.append('\t\t' + comment)
elif len(comments) == 1: elif len(comments) == 1:
log.append('%s' % comments[0]) log.append('\t%s' % comments[0])
file = open(change_file, 'wb') file = open(change_file, 'wb')
for line in log: for line in log:
@ -104,4 +104,4 @@ def make_changelog(job_path, target_build, change_file, current_version=None):
file.close() file.close()
if __name__ == '__main__': if __name__ == '__main__':
make_changelog("http://ci.jenkins.minecraftforge.net/job/BiomesOPlenty/", 70000, 'changelog.txt', 'pinecone') make_changelog("http://ci.jenkins.minecraftforge.net/job/BiomesOPlenty/", 70000, 'changelog.txt', 'latest')