summaryrefslogtreecommitdiff
path: root/buildstream/_pipeline.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_pipeline.py')
-rw-r--r--buildstream/_pipeline.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index e716c2eb9..9adc2deee 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -352,7 +352,6 @@ class Pipeline():
ticker(meta_element.name)
element = self.element_factory.create(meta_element.kind,
- meta_element.provenance.filename,
self.context,
self.project,
self.artifacts,
@@ -368,11 +367,8 @@ class Pipeline():
# resolve sources
for meta_source in meta_element.sources:
- index = meta_element.sources.index(meta_source)
- display_name = "{}-{}".format(meta_element.provenance.filename, index)
element._add_source(
self.source_factory.create(meta_source.kind,
- display_name,
self.context,
self.project,
meta_source)