diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-06-27 14:49:09 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-15 14:14:03 +0000 |
commit | c86de17c83ef09d51dd6deddf65c31c28a16eb73 (patch) | |
tree | 22c7fb800528854c18f8627cbd04c4afefcd642a /src/buildstream/source.py | |
parent | 1d970eef4be03909873ed9fa16748e8248238127 (diff) | |
download | buildstream-c86de17c83ef09d51dd6deddf65c31c28a16eb73.tar.gz |
_yaml: Remove 'node_find_target' and replace by 'MappingNode.find'
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 89655e15b..479b28966 100644 --- a/src/buildstream/source.py +++ b/src/buildstream/source.py @@ -962,9 +962,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] |