diff options
author | Jürg Billeter <j@bitron.ch> | 2017-11-08 17:24:41 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-02-08 14:04:04 +0100 |
commit | b74919501fa65feb4494a44fddc7180a92ad2991 (patch) | |
tree | 54b93278922e3ee74f758e109b9d5cb469de9274 /buildstream/_pipeline.py | |
parent | 00c6e649f455dcad9e19071ead31b9e0960fb078 (diff) | |
download | buildstream-b74919501fa65feb4494a44fddc7180a92ad2991.tar.gz |
Pass Project instance to Loader
Project access will be required for junctions.
Diffstat (limited to 'buildstream/_pipeline.py')
-rw-r--r-- | buildstream/_pipeline.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py index b588717e3..87f634cd6 100644 --- a/buildstream/_pipeline.py +++ b/buildstream/_pipeline.py @@ -121,8 +121,7 @@ class Pipeline(): self.platform = Platform.get_platform() self.artifacts = self.platform.artifactcache - loader = Loader(self.project.element_path, targets + except_, - self.project._options) + loader = Loader(self.project, targets + except_) with self.timed_activity("Loading pipeline", silent_nested=True): meta_elements = loader.load(rewritable, None) |