Benjamin Schubert pushed to branch bschubert/rework-sort at BuildStream / buildstream
Commits:
-
5b24d5b9
by Benjamin Schubert at 2019-02-05T14:51:23Z
1 changed file:
Changes:
... | ... | @@ -479,10 +479,9 @@ class Loader(): |
479 | 479 |
|
480 | 480 |
print("------------------")
|
481 | 481 |
for element in self._meta_elements.values():
|
482 |
- print("element before sort:", element.name, [e.name for e in element.build_dependencies], [e.name for e in element.dependencies])
|
|
483 | 482 |
element.build_dependencies.sort(key=attrgetter("index"))
|
484 | 483 |
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])
|
|
484 |
+ print("element:", element.name, [e.name for e in element.build_dependencies], [e.name for e in element.dependencies])
|
|
486 | 485 |
print("####################")
|
487 | 486 |
|
488 | 487 |
|