We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6de3a1 commit a029794Copy full SHA for a029794
datapackage_pipelines/web/server.py
@@ -40,9 +40,9 @@ def yamlize(x):
40
41
def make_hierarchies(statuses):
42
43
- def group(l):
44
- pipelines = list(filter(lambda x: len(x['id']) == 1, l))
45
- children_ = list(filter(lambda x: len(x['id']) > 1, l))
+ def group(lvl):
+ pipelines = list(filter(lambda x: len(x['id']) == 1, lvl))
+ children_ = list(filter(lambda x: len(x['id']) > 1, lvl))
46
groups_ = {}
47
for child in children_:
48
child_key = child['id'].pop(0)
0 commit comments