diff options
Diffstat (limited to 'src/buildstream/_stream.py')
-rw-r--r-- | src/buildstream/_stream.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py index 167127cf2..89febc547 100644 --- a/src/buildstream/_stream.py +++ b/src/buildstream/_stream.py @@ -1172,8 +1172,8 @@ class Stream(): self._pipeline.load([target_elements, except_targets, track_targets, track_except_targets], rewritable=rewritable) - # Obtain the ArtifactElement objects - artifacts = [self._project.create_artifact_element(ref) for ref in target_artifacts] + # Load all target artifacts + artifacts = self._pipeline.load_artifacts(target_artifacts) if target_artifacts else [] # Optionally filter out junction elements if ignore_junction_targets: |