summaryrefslogtreecommitdiff
path: root/buildstream/_pipeline.py
diff options
context:
space:
mode:
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)