From bb3c3247f00cc9d0e28d3167378e33f8fac635ea Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Mon, 24 Jul 2017 13:16:37 +0100 Subject: element.py: Fix self.__public being written to during builds --- buildstream/element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1