diff options
author | Jürg Billeter <j@bitron.ch> | 2018-09-26 10:04:09 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-09-27 10:18:03 +0100 |
commit | 52991be17f99641a2ade97104a6dbeac7d7d3654 (patch) | |
tree | 97f3102f607b7053923288a060f585b44ce1fcb1 /buildstream | |
parent | ef1cb374b590c3b32ef59aaf0d17dffaea037fd6 (diff) | |
download | buildstream-52991be17f99641a2ade97104a6dbeac7d7d3654.tar.gz |
_stream.py: Migrate to Context.artifactcache
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/_stream.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/buildstream/_stream.py b/buildstream/_stream.py index f4661cc2a..e7a71978b 100644 --- a/buildstream/_stream.py +++ b/buildstream/_stream.py @@ -32,7 +32,6 @@ from ._exceptions import StreamError, ImplError, BstError, set_last_task_error from ._message import Message, MessageType from ._scheduler import Scheduler, SchedStatus, TrackQueue, FetchQueue, BuildQueue, PullQueue, PushQueue from ._pipeline import Pipeline, PipelineSelection -from ._platform import Platform from . import utils, _yaml, _site from . import Scope, Consistency @@ -71,8 +70,7 @@ class Stream(): # # Private members # - self._platform = Platform.get_platform() - self._artifacts = self._platform.artifactcache + self._artifacts = context.artifactcache self._context = context self._project = project self._pipeline = Pipeline(context, project, self._artifacts) |