summaryrefslogtreecommitdiff
path: root/buildstream/_loader
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2018-08-08 16:49:19 +0200
committerValentin David <valentin.david@codethink.co.uk>2018-08-20 17:39:06 +0200
commit83f4403d2b0c1ad3ac3c3740738d6f113b535690 (patch)
tree5420e09971cbff8330ee61d30d7600565096d9f9 /buildstream/_loader
parentef103572d8394f2f22718a6c502fba97e9c7f88e (diff)
downloadbuildstream-83f4403d2b0c1ad3ac3c3740738d6f113b535690.tar.gz
Fix broken indentation after tracking.
Issue was introduced by 171e803f (include directive) and the fix was found courtesy of @Qinusty. This fixes also the include feature. Because elements are to be serialized, the included fragments need to use copy_tree when loaded. Related to #470.
Diffstat (limited to 'buildstream/_loader')
-rw-r--r--buildstream/_loader/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_loader/loader.py b/buildstream/_loader/loader.py
index 6e46197ab..c6bc87726 100644
--- a/buildstream/_loader/loader.py
+++ b/buildstream/_loader/loader.py
@@ -78,7 +78,7 @@ class Loader():
self._elements = {} # Dict of elements
self._loaders = {} # Dict of junction loaders
- self._includes = Includes(self)
+ self._includes = Includes(self, copy_tree=True)
# load():
#