Benjamin Schubert pushed to branch bschubert/further-opti at BuildStream / buildstream
Commits:
-
8ade7ead
by Benjamin Schubert at 2019-02-05T20:46:22Z
1 changed file:
Changes:
... | ... | @@ -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
|