Skip to content
Snippets Groups Projects
Commit d85ebb1d authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

BUG: prevent all_variables from being mutated

parent 16496d1d
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class FileTree(object):
All tree variables including those from the parent tree
"""
if self.parent is None:
return self.variables
return dict(self.variables)
res = self.parent.all_variables
res.update(self.variables)
return res
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment