Skip to content
Snippets Groups Projects
Commit c9a1e7a4 authored by Jürg Billeter's avatar Jürg Billeter
Browse files

element.py: Pass element object to sandbox

This allows the sandbox to output messages using the plugin id.
parent ad6cde1b
No related branches found
No related tags found
Loading
...@@ -2157,6 +2157,7 @@ class Element(Plugin): ...@@ -2157,6 +2157,7 @@ class Element(Plugin):
sandbox = SandboxRemote(context, project, sandbox = SandboxRemote(context, project,
directory, directory,
plugin=self,
stdout=stdout, stdout=stdout,
stderr=stderr, stderr=stderr,
config=config, config=config,
...@@ -2175,6 +2176,7 @@ class Element(Plugin): ...@@ -2175,6 +2176,7 @@ class Element(Plugin):
sandbox = platform.create_sandbox(context, project, sandbox = platform.create_sandbox(context, project,
directory, directory,
plugin=self,
stdout=stdout, stdout=stdout,
stderr=stderr, stderr=stderr,
config=config, config=config,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment