mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 15:33:18 +00:00
Changelog fixup
This commit is contained in:
1 parent
93a629dd95
commit
626ae3a725
1 file changed
+3
-2
+3
-2
@@ -33,7 +33,8 @@ def getBuildInfo(url):
|
||||
data = ast.literal_eval(data)['builds']
|
||||
data = sorted(data, key=lambda key: key['number'], reverse=True)
|
||||
for build in data:
|
||||
build['actions'] = filter(lambda act: 'text' in act, build['actions'])
|
||||
build['actions'] = filter(lambda act: act is not None, build['actions'])
|
||||
build['actions'] = filter(lambda act: 'text' in act, build['actions'])
|
||||
build['actions'] = filter(lambda act: not ' ' in act['text'], build['actions'])
|
||||
if len(build['actions']) == 0:
|
||||
build['version'] = None
|
||||
@@ -74,4 +75,4 @@ def make_changelog(job_path, target_build, change_file, current_version=None):
|
||||
file = open(change_file, 'wb')
|
||||
for line in log:
|
||||
file.write('%s\n' % line)
|
||||
file.close()
|
||||
file.close()
|
||||
Reference in new issue
Block a user