summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-05 22:09:50 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-05 22:09:50 +0900
commitc8c5516c7f426b17cfc5c7ba4f29c09a0ba13d73 (patch)
tree48da6441e91b324fae11526cadf4a8afcf47e9f1
parent5ec9ffe3bfd14b6687b188531792c9479afb62d6 (diff)
downloadbuildstream-c8c5516c7f426b17cfc5c7ba4f29c09a0ba13d73.tar.gz
Testing
-rw-r--r--buildstream/element.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index b13d489c2..1b0bf2b1e 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 = copy.deepcopy(data)
+ data = _yaml.node_chain_copy(data)
return data
@@ -455,6 +455,8 @@ class Element(Plugin):
self._load_public_data()
if data is not None:
+ # Should we ensure provenance information here ?
+ #
data = copy.deepcopy(data)
self.__dynamic_public[domain] = data