[Notes] [Git][BuildStream/buildstream][bschubert/rework-sort] fixup! fixup! fixup! fixup! fixup! Try another approach



Title: GitLab

Benjamin Schubert pushed to branch bschubert/rework-sort at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • buildstream/_loader/loader.py
    ... ... @@ -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
     
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]