]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/patch.py: Clean up getstatusoutput usage
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 23 Aug 2018 08:07:25 +0000 (16:07 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Aug 2018 17:02:19 +0000 (18:02 +0100)
commitc3e7739987d804f7865428442479d5bece5ff2dd
tree948521210389406d7688186b467fa2e6d498cf23
parent90c730a898f11adb2ecd377cdd913af83123bcb7
lib/oe/patch.py: Clean up getstatusoutput usage

We can't use subprocess.check_output() or subprocess.call() here since the one
who invokes runcmd() needs handle CmdError() exception (error out or ignore
it).

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/patch.py