diff options
author | Tristan van Berkom <tristan@codethink.co.uk> | 2020-12-02 16:58:41 +0900 |
---|---|---|
committer | Tristan van Berkom <tristan@codethink.co.uk> | 2020-12-07 17:53:03 +0900 |
commit | 85bc237c684310a69fd3d05bb0124f7e100b5216 (patch) | |
tree | 07a934f064d243acc899481ab4f20ad115ee98a0 /src/buildstream/_pipeline.py | |
parent | fd298b1229ba697bcda4767388d6e5ddbcf107a0 (diff) | |
download | buildstream-85bc237c684310a69fd3d05bb0124f7e100b5216.tar.gz |
_stream.py: Add _load_artifacts() here
Instead of having _pipeline.py implement load_artifacts() by calling
_project.py's other implementation of load_artifacts(), instead just
implement _load_artifacts() directly in _stream.py.
This of course removes the load_artifacts() implementations from
_pipeline.py and _project.py.
Diffstat (limited to 'src/buildstream/_pipeline.py')
-rw-r--r-- | src/buildstream/_pipeline.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/buildstream/_pipeline.py b/src/buildstream/_pipeline.py index 77b3c24e0..01ebc2e96 100644 --- a/src/buildstream/_pipeline.py +++ b/src/buildstream/_pipeline.py @@ -79,21 +79,6 @@ class Pipeline: return tuple(element_groups) - # load_artifacts() - # - # Loads ArtifactElements from target artifacts. - # - # Args: - # target (list [str]): Target artifacts to load - # - # Returns: - # (list [ArtifactElement]): A list of ArtifactElement objects - # - def load_artifacts(self, targets): - # XXX: This is not included as part of the "load-pipeline" profiler, we could move - # the profiler to Stream? - return self._project.load_artifacts(targets) - # resolve_elements() # # Resolve element state and cache keys. |