]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Oct 2013 06:14:00 +0000 (07:14 +0100)
commit0d9eef0eaa267500e8eedab8b72ddf24eb0516db
treeb618cb3cc3369e3a6ba57cecbfda6d5ae91ea365
parent76293d2d6bbdeacd7b34f39f26fb97c3d7f9496f
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.

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