Damn you python and your tab obsession!
This commit is contained in:
parent
626ae3a725
commit
891527883e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue