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-25 21:23:17 +0100 |
commit | a2585457ae9fd85881cd3a153ad21d09f1fd1c7d (patch) | |
tree | 46879fafceec5378cd0e5894d73c51382d75b3d5 | |
parent | 9de37f938d9ee715f72fb0df5e65e20d05aeeb11 (diff) | |
download | buildstream-a2585457ae9fd85881cd3a153ad21d09f1fd1c7d.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)) |