summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2017-07-24 13:16:37 +0100
committerJonathan Maw <jonathan.maw@codethink.co.uk>2017-07-26 10:49:02 +0100
commitbb3c3247f00cc9d0e28d3167378e33f8fac635ea (patch)
tree99ced9673fbb4b530585da74fa67ce8f9aa38385
parent2267d1e520dc290f8f91e8f823f9c1934a5a76d4 (diff)
downloadbuildstream-bb3c3247f00cc9d0e28d3167378e33f8fac635ea.tar.gz
element.py: Fix self.__public being written to during builds
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index a1a07bb78..e43e705d6 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -1042,7 +1042,7 @@ class Element(Plugin):
# By default, the dynamic public data is the same as the static public data.
# The plugin's assemble() method may modify this, though.
- self.__dynamic_public = self.__public
+ self.__dynamic_public = _yaml.node_copy(self.__public)
# Call the abstract plugin methods
try: