summaryrefslogtreecommitdiff
path: root/buildstream/element.py
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.co.uk>2017-10-31 13:31:00 +0000
committerTristan Maat <tristan.maat@codethink.co.uk>2017-10-31 13:31:00 +0000
commite268c297788f8175ae82e8978e44222da8acad64 (patch)
treec6e9a239d2785bceeb15ea41ac5f8d0635e4a351 /buildstream/element.py
parent5e28b4a3de1f42a1d4240d429c1c85641da5f40c (diff)
downloadbuildstream-platform_singleton.tar.gz
Clean old Platform.get_platform referencesplatform_singleton
Diffstat (limited to 'buildstream/element.py')
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index d66e6e8fb..7c1da4b5f 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -1414,7 +1414,7 @@ class Element(Plugin):
def __sandbox(self, directory, stdout=None, stderr=None):
context = self.get_context()
project = self.get_project()
- platform = Platform.get_platform(context, project)
+ platform = Platform.get_platform()
if directory is not None and os.path.exists(directory):
sandbox = platform.create_sandbox(context, project,