Benjamin Schubert pushed to branch bschubert/rework-sort at BuildStream / buildstream
Commits:
-
87005f98
by Benjamin Schubert at 2019-02-05T14:28:43Z
1 changed file:
Changes:
... | ... | @@ -482,6 +482,7 @@ class Loader(): |
482 | 482 |
print("element before sort:", element.name, [e.name for e in element.build_dependencies], [e.name for e in element.dependencies])
|
483 | 483 |
element.build_dependencies.sort(key=attrgetter("index"))
|
484 | 484 |
element.dependencies.sort(key=attrgetter("index"))
|
485 |
+ print("element after sort:", element.name, [e.name for e in element.build_dependencies], [e.name for e in element.dependencies])
|
|
485 | 486 |
print("####################")
|
486 | 487 |
|
487 | 488 |
|