summaryrefslogtreecommitdiff
path: root/buildstream/_project.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_project.py')
-rw-r--r--buildstream/_project.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/buildstream/_project.py b/buildstream/_project.py
index ef22f4e6f..9a1a2f3dc 100644
--- a/buildstream/_project.py
+++ b/buildstream/_project.py
@@ -221,14 +221,13 @@ class Project():
# Instantiate and return an element
#
# Args:
- # artifacts (ArtifactCache): The artifact cache
# meta (MetaElement): The loaded MetaElement
# first_pass (bool): Whether to use first pass configuration (for junctions)
#
# Returns:
# (Element): A newly created Element object of the appropriate kind
#
- def create_element(self, artifacts, meta, *, first_pass=False):
+ def create_element(self, meta, *, first_pass=False):
if first_pass:
return self.first_pass_config.element_factory.create(self._context, self, meta)
else: