diff options
author | Jürg Billeter <j@bitron.ch> | 2018-09-26 10:04:09 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-04-14 16:25:19 +0900 |
commit | ec26d685ef9e385b5da77db3ed0be49937dbd30b (patch) | |
tree | 1fc78e32b16c0a6482233738f7bf24c2935819b1 | |
parent | 80ce97623fc6ed86d2374227016c458ff15f6235 (diff) | |
download | buildstream-ec26d685ef9e385b5da77db3ed0be49937dbd30b.tar.gz |
_stream.py: Migrate to Context.artifactcache
-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 de3ae464c..310bfbde0 100644 --- a/buildstream/_stream.py +++ b/buildstream/_stream.py @@ -32,7 +32,6 @@ from ._exceptions import StreamError, ImplError, BstError 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) |