diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-20 15:44:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-24 11:52:27 +0100 |
commit | 1d8924f1727d3d3c954d4c9002fe8827552bf5bf (patch) | |
tree | 39e4a1b7dd62da802911fa2766a09993df8339ff /meta/classes/sign_ipk.bbclass | |
parent | 9928614e9437a49cbff4a36baa1e1cca3becb754 (diff) | |
download | poky-1d8924f1727d3d3c954d4c9002fe8827552bf5bf.tar.gz |
package: Clean up getstatusoutput usage
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls. The
call is just a wraper to the subprocess call of the same name and requires
the caller to handle exceptions themselves. We usually do this badly, failing
to show the output or the command or the return code.
Its much safer to rely on a call like subprocess.check_output() instead.
This also makes it easier to spot and remove cases where shell=True isn't
needed in a later cleanup.
(From OE-Core rev: 9f058857fb692f1251deb43bcaa7ed0120140093)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sign_ipk.bbclass')
0 files changed, 0 insertions, 0 deletions