[Notes] [Git][BuildStream/buildstream][bschubert/further-opti] fixup! fixup! Use sets



Title: GitLab

Benjamin Schubert pushed to branch bschubert/further-opti at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • buildstream/_loader/loader.py
    ... ... @@ -320,7 +320,7 @@ class Loader():
    320 320
             sequence.append(element.full_name)
    
    321 321
             for dep in element.dependencies:
    
    322 322
                 dep.element._loader._check_circular_deps(dep.element, check_elements, validated, sequence)
    
    323
    -        del check_elements[element]
    
    323
    +        check_elements.remove(element)
    
    324 324
             sequence.pop()
    
    325 325
     
    
    326 326
             # Eliminate duplicate paths
    



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