diff options
Diffstat (limited to 'src/buildstream/source.py')
-rw-r--r-- | src/buildstream/source.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/source.py b/src/buildstream/source.py index 2274f47d9..c87d77020 100644 --- a/src/buildstream/source.py +++ b/src/buildstream/source.py @@ -968,9 +968,9 @@ class Source(Plugin): # Get the path to whatever changed if action == 'add': - path = _yaml.node_find_target(toplevel_node, node) + path = toplevel_node._find(node) else: - full_path = _yaml.node_find_target(toplevel_node, node.get_node(key)) + full_path = toplevel_node._find(node.get_node(key)) # We want the path to the node containing the key, not to the key path = full_path[:-1] |