diff options
author | Jürg Billeter <j@bitron.ch> | 2018-11-25 21:23:17 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-11-27 13:41:09 +0000 |
commit | bdd6925f7cdd690f155eb62701bd05bc11c2d567 (patch) | |
tree | ea353be1b7f3c6f1bfbf88b94040cf638dd9f751 | |
parent | 85f5b574036723896a3c14313afd9eff86c6a12b (diff) | |
download | buildstream-bdd6925f7cdd690f155eb62701bd05bc11c2d567.tar.gz |
element.py: Use SandboxFlags.NONE instead of 0
-rw-r--r-- | buildstream/element.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index e0d8ce77d..9999f5022 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -774,7 +774,8 @@ class Element(Plugin): for i in range(len(commands)): cmd = self.node_subst_list_element(bstdata, 'integration-commands', [i]) self.status("Running integration command", detail=cmd) - exitcode = sandbox.run(['sh', '-e', '-c', cmd], 0, env=environment, cwd='/') + exitcode = sandbox.run(['sh', '-e', '-c', cmd], SandboxFlags.NONE, + env=environment, cwd='/') if exitcode != 0: raise ElementError("Command '{}' failed with exitcode {}".format(cmd, exitcode)) |