[Notes] [Git][BuildStream/buildstream][bschubert/optimize-sort] fixup! fixup! fixup! fixup! fixup! fixup! Refactor sorting



Title: GitLab

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

Commits:

1 changed file:

Changes:

  • buildstream/_loader/loader.py
    ... ... @@ -294,7 +294,7 @@ class Loader():
    294 294
                 raise SystemExit("Can't order stuff")
    
    295 295
     
    
    296 296
             # Load all dependency files for the new LoadElement
    
    297
    -        for dep in sorted(element.deps, key=cmp_to_key(sort_deps)):
    
    297
    +        for dep in element.deps: #sorted(element.deps, key=cmp_to_key(sort_deps)):
    
    298 298
                 if dep.junction:
    
    299 299
                     self._load_file(dep.junction, rewritable, ticker, fetch_subprojects, yaml_cache)
    
    300 300
                     loader = self._get_loader(dep.junction, rewritable=rewritable, ticker=ticker,
    



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