summaryrefslogtreecommitdiff
path: root/src/buildstream/_includes.py
diff options
context:
space:
mode:
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)