Skip to content
Snippets Groups Projects
Commit 1982830a authored by Benjamin Schubert's avatar Benjamin Schubert
Browse files

fixup! Use sets

parent 34a34432
No related branches found
No related tags found
Loading
Pipeline #46264552 failed
......@@ -301,10 +301,10 @@ class Loader():
sequence = []
# Skip already validated branches
if validated.get(element) is not None:
if element in validated:
return
if check_elements.get(element) is not None:
if element in check_elements:
# Create `chain`, the loop of element dependencies from this
# element back to itself, by trimming everything before this
# element from the sequence under consideration.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment