diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2018-10-24 10:56:28 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2018-10-25 15:43:52 +0100 |
commit | 3394741a554a1035715294fefed6de3d734a6b89 (patch) | |
tree | b0f85ea2d87296def969b7d2fc91936e4d82e589 /buildstream | |
parent | 63c6e6b1af21949749cbe11bcda66b2ddb9d2ec6 (diff) | |
download | buildstream-3394741a554a1035715294fefed6de3d734a6b89.tar.gz |
sandbox/_sandboxchroot.py: Silence warning about preexec_fn
We are super-careful to not use threads in places where we might use
Popen and as such this warning is save to quash.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/sandbox/_sandboxchroot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/sandbox/_sandboxchroot.py b/buildstream/sandbox/_sandboxchroot.py index 7a62ed49c..82de2fa0a 100644 --- a/buildstream/sandbox/_sandboxchroot.py +++ b/buildstream/sandbox/_sandboxchroot.py @@ -146,7 +146,7 @@ class SandboxChroot(Sandbox): try: with _signals.suspendable(suspend_proc, resume_proc), _signals.terminator(kill_proc): - process = subprocess.Popen( + process = subprocess.Popen( # pylint: disable=subprocess-popen-preexec-fn command, close_fds=True, cwd=os.path.join(rootfs, cwd.lstrip(os.sep)), |