[OE-core] [PATCH] classes/kernel-yocto: Cleanup getstatusoutput usage

Burton, Ross ross.burton at intel.com
Wed Jul 25 20:17:41 UTC 2018


On 25 July 2018 at 21:05, Bruce Ashfield <bruce.ashfield at gmail.com> wrote:
> My question about the change .. is why ? I really don't like cleanup
> patches on principle, and want things pinned to a bug, a performance
> issue or something else.

See a post by RP to the oe-core list a few days ago: a general cleanup
of Python code that spawns is well overdue.  In this case
oe.utils.getstatusoutpus is a wrapper that just calls a deprecated
function in subprocess, is best to pass arguments as an array instead
of string, best not to use a shell, etc.

Ross



More information about the Openembedded-core mailing list