From 18acd3ea4594e34b681f08db82e95b1078fb5d00 Mon Sep 17 00:00:00 2001 From: Valentin David Date: Wed, 8 Aug 2018 16:49:19 +0200 Subject: 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. --- buildstream/_loader/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildstream/_loader') diff --git a/buildstream/_loader/loader.py b/buildstream/_loader/loader.py index 275bc20cf..8553bc6dd 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(): # -- cgit v1.2.1