]> code.ossystems Code Review - openembedded-core.git/commit
wic: Make find_binary_path() more user-friendly
authorTom Zanussi <tom.zanussi@linux.intel.com>
Tue, 22 Oct 2013 14:24:04 +0000 (09:24 -0500)
committerRobert Yang <liezhi.yang@windriver.com>
Wed, 11 Dec 2013 02:12:20 +0000 (21:12 -0500)
commit8a17195c9be38815e9ae431bcb18f66a4ad2cdcb
tree609a1bb550e74cb1367399dce380091d0fe978ce
parent0ed290b81e1c3b781170033f50db01ddfff14784
wic: Make find_binary_path() more user-friendly

find_binary_path() is useful, but if the binary isn't found, it prints
a stacktrace and a less-than-useful message.  Users complain when they
get stacktraces for things they can act on, so remove the stacktrace
and tell the user what the problem is.

(From OE-Core master rev: 0d9eef0eaa267500e8eedab8b72ddf24eb0516db)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
scripts/lib/mic/utils/fs_related.py