diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2016-04-04 15:41:42 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-05 09:55:47 +0100 |
commit | 7d9e915224a9bc451fddfbbfad533d9b06e9987d (patch) | |
tree | f3ca9ac5d4cf09bf1b6da863a5dfdb767eac9be1 /scripts/lib/devtool/utilcmds.py | |
parent | 2a8d0df47c9d28f8ca7285861dee7a178273eae4 (diff) | |
download | openembedded-core-7d9e915224a9bc451fddfbbfad533d9b06e9987d.tar.gz openembedded-core-7d9e915224a9bc451fddfbbfad533d9b06e9987d.tar.bz2 openembedded-core-7d9e915224a9bc451fddfbbfad533d9b06e9987d.zip |
package_manager.py: better error handling in opkg's package listing
opkg does not return a non-zero exit code even if it found
errors. When that happens, parsing the output leads to strange
follow-up errors.
To avoid this we need to check explicitly for non-empty
stderr. Reporting only that on a failure also leads to shorter error
messages (stdout may be very large).
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/utilcmds.py')
0 files changed, 0 insertions, 0 deletions