summaryrefslogtreecommitdiff
path: root/buildstream/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/element.py')
-rw-r--r--buildstream/element.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 1b0bf2b1e..ee8b86b49 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -435,7 +435,7 @@ class Element(Plugin):
data = self.__dynamic_public.get(domain)
if data is not None:
- data = _yaml.node_chain_copy(data)
+ data = _yaml.node_copy(data)
return data
@@ -455,9 +455,7 @@ class Element(Plugin):
self._load_public_data()
if data is not None:
- # Should we ensure provenance information here ?
- #
- data = copy.deepcopy(data)
+ data = _yaml.node_copy(data)
self.__dynamic_public[domain] = data