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 Van Berkom <tristan.van.berkom@gmail.com>2017-11-01 10:01:42 +0000
commit6c0fa8445b849680300d407efe8bca691d4e680e (patch)
tree9a17bfa7f2c05d4d6338c21e163fa776b74c2376 /buildstream/element.py
parentd64ea749379100f61ed2c3342bcda4d8e5a46d71 (diff)
downloadbuildstream-6c0fa8445b849680300d407efe8bca691d4e680e.tar.gz
Clean old Platform.get_platform references
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,