summaryrefslogtreecommitdiff
path: root/src/buildstream/_includes.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-06-26 18:48:02 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-15 14:14:02 +0000
commitbb3c8045cd89a7c4d1d7cd2e03736496dd449fb9 (patch)
treea8881435e3f8819f1f500750fb7ae8066d81fdcc /src/buildstream/_includes.py
parent0d957f0d8e3d6492d2144f0b57df163eaf1ab1e5 (diff)
downloadbuildstream-bb3c8045cd89a7c4d1d7cd2e03736496dd449fb9.tar.gz
_yaml: Remove 'node_copy' and add 'Node.copy()'
Also adaprt every part of the code calling it
Diffstat (limited to 'src/buildstream/_includes.py')
-rw-r--r--src/buildstream/_includes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_includes.py b/src/buildstream/_includes.py
index 2831c9765..f74ea85be 100644
--- a/src/buildstream/_includes.py
+++ b/src/buildstream/_includes.py
@@ -71,7 +71,7 @@ class Includes:
# Because the included node will be modified, we need
# to copy it so that we do not modify the toplevel
# node of the provenance.
- include_node = _yaml.node_copy(include_node)
+ include_node = include_node.copy()
try:
included.add(file_path)