summaryrefslogtreecommitdiff
path: root/buildstream/_stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_stream.py')
-rw-r--r--buildstream/_stream.py4
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)