diff options
author | Valentin David <valentin.david@codethink.co.uk> | 2018-08-08 16:49:19 +0200 |
---|---|---|
committer | Qinusty <jrsmith9822@gmail.com> | 2018-08-21 08:44:34 +0000 |
commit | 18acd3ea4594e34b681f08db82e95b1078fb5d00 (patch) | |
tree | d172ce7ad8c7c08bf2165c08001fac9687b6b783 /buildstream/_loader | |
parent | ba74a128d5bd7f18574d0f61039a55f1f63d28b7 (diff) | |
download | buildstream-18acd3ea4594e34b681f08db82e95b1078fb5d00.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.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): # |