Damn you python and your tab obsession!

This commit is contained in:
Christian 2013-03-23 23:25:08 -04:00
parent 626ae3a725
commit 891527883e

View file

@ -33,8 +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: act is not None, build['actions'])
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