diff options
Diffstat (limited to 'buildstream/element.py')
-rw-r--r-- | buildstream/element.py | 2 |
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, |