diff options
author | Jürg Billeter <j@bitron.ch> | 2018-11-18 22:16:39 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-11-27 13:41:09 +0000 |
commit | 87f7c99ae951e58808ca82f183a9c92a6f992b54 (patch) | |
tree | 17d7c501714a2f913590ce159fbb87e7a967ff1a | |
parent | f1767de2de6c4efcb08a0662f5a8ac9e9a25ad75 (diff) | |
download | buildstream-87f7c99ae951e58808ca82f183a9c92a6f992b54.tar.gz |
element.py: Pass element object to sandbox
This allows the sandbox to output messages using the plugin id.
-rw-r--r-- | buildstream/element.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index 9999f5022..69219e194 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -2158,6 +2158,7 @@ class Element(Plugin): sandbox = SandboxRemote(context, project, directory, + plugin=self, stdout=stdout, stderr=stderr, config=config, @@ -2176,6 +2177,7 @@ class Element(Plugin): sandbox = platform.create_sandbox(context, project, directory, + plugin=self, stdout=stdout, stderr=stderr, config=config, |