summaryrefslogtreecommitdiff
path: root/src/buildstream/_project.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_project.py')
-rw-r--r--src/buildstream/_project.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/buildstream/_project.py b/src/buildstream/_project.py
index cf0001e71..54a011e0d 100644
--- a/src/buildstream/_project.py
+++ b/src/buildstream/_project.py
@@ -427,15 +427,13 @@ class Project():
# targets (list): Target names
# rewritable (bool): Whether the loaded files should be rewritable
# this is a bit more expensive due to deep copies
- # ignore_workspaces (bool): Whether to load workspace sources
#
# Returns:
# (list): A list of loaded Element
#
- def load_elements(self, targets, *, rewritable=False, ignore_workspaces=False):
+ def load_elements(self, targets, *, rewritable=False):
with self._context.messenger.simple_task("Loading elements", silent_nested=True) as task:
- meta_elements = self.loader.load(targets, task, rewritable=rewritable, ticker=None,
- ignore_workspaces=ignore_workspaces)
+ meta_elements = self.loader.load(targets, task, rewritable=rewritable, ticker=None)
with self._context.messenger.simple_task("Resolving elements") as task:
if task: