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 c3bef1ce6..75d748723 100644
--- a/src/buildstream/_includes.py
+++ b/src/buildstream/_includes.py
@@ -73,7 +73,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 = include_node.copy()
+ include_node = include_node.clone()
try:
included.add(file_path)