diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-06-13 18:54:28 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-15 14:14:02 +0000 |
commit | 50335363cd49e7945567609cf8b1273576b27667 (patch) | |
tree | 4dbe6507e8c39ce37f228bb1f007f075bca6e6cf /src/buildstream/_projectrefs.py | |
parent | 95a6e2d03157da46f9056956111847989326e3db (diff) | |
download | buildstream-50335363cd49e7945567609cf8b1273576b27667.tar.gz |
_yaml: Remove 'node_get' and migrate all remaining calls to new API
Diffstat (limited to 'src/buildstream/_projectrefs.py')
-rw-r--r-- | src/buildstream/_projectrefs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_projectrefs.py b/src/buildstream/_projectrefs.py index f296858cf..e72d4757e 100644 --- a/src/buildstream/_projectrefs.py +++ b/src/buildstream/_projectrefs.py @@ -150,6 +150,6 @@ class ProjectRefs(): # Pad the list with empty newly created dictionaries _yaml.node_extend_list(project_node, element, source_index + 1, {}) - node = _yaml.node_get(project_node, dict, element, indices=[source_index]) + node = project_node.get_sequence(element).mapping_at(source_index) return node |