diff options
Diffstat (limited to 'src/buildstream/_project.py')
-rw-r--r-- | src/buildstream/_project.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/buildstream/_project.py b/src/buildstream/_project.py index 6154c51c0..180c23977 100644 --- a/src/buildstream/_project.py +++ b/src/buildstream/_project.py @@ -27,7 +27,6 @@ from . import utils from . import _site from . import _yaml from .utils import UtilError -from ._artifactelement import ArtifactElement from ._profile import Topics, PROFILER from ._exceptions import LoadError from .exceptions import LoadErrorReason @@ -455,26 +454,6 @@ class Project: return elements - # load_artifacts() - # - # Loads artifacts from target artifact refs - # - # Args: - # targets (list): Target artifact refs - # - # Returns: - # (list): A list of loaded ArtifactElement - # - def load_artifacts(self, targets): - with self._context.messenger.simple_task("Loading artifacts") as task: - artifacts = [] - for ref in targets: - artifacts.append(ArtifactElement._new_from_artifact_name(ref, self._context, task)) - - ArtifactElement._clear_artifact_refs_cache() - - return artifacts - # ensure_fully_loaded() # # Ensure project has finished loading. At first initialization, a |