]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lib/oe/patch.py: Clean up getstatusoutput usage
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 22 Aug 2018 08:36:53 +0000 (16:36 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Thu, 23 Aug 2018 08:05:41 +0000 (16:05 +0800)
commit39ef539345dd647979c04b7e461e0d07b9634e85
treec132301b91c278572476c378ae1cbb4213f92912
parentb297f5062ff4e7f17b0152fd6e736cae35861b28
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>
meta/lib/oe/patch.py