Skip to content
Snippets Groups Projects
Commit a774050f authored by Jonathan Maw's avatar Jonathan Maw Committed by Lachlan
Browse files

Loader: Make _extract_depends_from_node not 'del' nonexistent fields

This is benign because a _yaml.ChainMap doesn't raise a
KeyError, but it's not required to be a ChainMap.
parent 350c6796
No related branches found
No related tags found
Loading
......@@ -185,6 +185,6 @@ def _extract_depends_from_node(node, *, key=None):
output_deps.append(dependency)
# Now delete the field, we dont want it anymore
del node[key]
node.pop(key, None)
return output_deps
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