]> code.ossystems Code Review - openembedded-core.git/commit
wic/engine: lets display an error not a traceback
authorArmin Kuster <akuster808@gmail.com>
Mon, 2 Mar 2020 05:39:56 +0000 (21:39 -0800)
committerArmin Kuster <akuster808@gmail.com>
Wed, 11 Mar 2020 02:15:57 +0000 (19:15 -0700)
commit29a1d9bed5bf7ed024870a0323f9afdf88346e4d
tree06e792e6210649710f22278422c028816b8c9845
parenta01bf79a35c908d6b072b984608114860b5c1e8f
wic/engine: lets display an error not a traceback

If the requested partition does not exist in this request "wic ls {path}:pnum"
display a nice message not a trackback

Also fix displaying the pnum and not "%s"

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 15d1722950a22649905cf8a5789d3cfe48a2a892)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/lib/wic/engine.py