diff options
Diffstat (limited to 'src/buildstream/_pipeline.py')
-rw-r--r-- | src/buildstream/_pipeline.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/buildstream/_pipeline.py b/src/buildstream/_pipeline.py index 8de97bea6..9edc6f51b 100644 --- a/src/buildstream/_pipeline.py +++ b/src/buildstream/_pipeline.py @@ -62,19 +62,17 @@ class Pipeline: # # Args: # target_groups (list of lists): Groups of toplevel targets to load - # rewritable (bool): Whether the loaded files should be rewritable - # this is a bit more expensive due to deep copies # # Returns: # (tuple of lists): A tuple of grouped Element objects corresponding to target_groups # - def load(self, target_groups, *, rewritable=False): + def load(self, target_groups): # First concatenate all the lists for the loader's sake targets = list(itertools.chain(*target_groups)) with PROFILER.profile(Topics.LOAD_PIPELINE, "_".join(t.replace(os.sep, "-") for t in targets)): - elements = self._project.load_elements(targets, rewritable=rewritable) + elements = self._project.load_elements(targets) # Now create element groups to match the input target groups elt_iter = iter(elements) |