diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-05-02 15:30:20 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-05-08 03:59:38 +0900 |
commit | b8e15706a51272e4f4e116d9e373fd2581102868 (patch) | |
tree | 25518bb2f60418749a32418c3523a19c11e232e6 /buildstream/_project.py | |
parent | a542c81858d94e0be06216184f3df61600805138 (diff) | |
download | buildstream-b8e15706a51272e4f4e116d9e373fd2581102868.tar.gz |
_artifactcache: Added ArtifactCache.setup_remotes()
This removes some additional initialization code from Pipeline().
Some symbols have changed here, the initialization is now called
from Stream(), and a test case was also adjusted for this.
Diffstat (limited to 'buildstream/_project.py')
-rw-r--r-- | buildstream/_project.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_project.py b/buildstream/_project.py index d4afd7712..12074ab3a 100644 --- a/buildstream/_project.py +++ b/buildstream/_project.py @@ -29,7 +29,7 @@ from . import _yaml from ._profile import Topics, profile_start, profile_end from ._exceptions import LoadError, LoadErrorReason from ._options import OptionPool -from ._artifactcache import artifact_cache_specs_from_config_node +from ._artifactcache import ArtifactCache from ._elementfactory import ElementFactory from ._sourcefactory import SourceFactory from ._projectrefs import ProjectRefs, ProjectRefStorage @@ -296,7 +296,7 @@ class Project(): # # Load artifacts pull/push configuration for this project - self.artifact_cache_specs = artifact_cache_specs_from_config_node(config) + self.artifact_cache_specs = ArtifactCache.specs_from_config_node(config) # Workspace configurations self.workspaces = Workspaces(self) |