summaryrefslogtreecommitdiff
path: root/buildstream/_pipeline.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2017-11-08 17:24:41 +0100
committerJürg Billeter <j@bitron.ch>2018-02-08 14:04:04 +0100
commitb74919501fa65feb4494a44fddc7180a92ad2991 (patch)
tree54b93278922e3ee74f758e109b9d5cb469de9274 /buildstream/_pipeline.py
parent00c6e649f455dcad9e19071ead31b9e0960fb078 (diff)
downloadbuildstream-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.py3
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)