]> git.sur5r.net Git - u-boot/commit
tools: moveconfig: simplify show_failed_boards() and show more info
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 15 Jun 2016 05:33:53 +0000 (14:33 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Jun 2016 00:22:54 +0000 (09:22 +0900)
commit96dccd9767311f4b8e585fd9e33fcb2a09e36951
tree09f5f75441118163f2e8917adbfa48c035bf99ae
parentf432c33f27898070718dd568feb104fc1870ca15
tools: moveconfig: simplify show_failed_boards() and show more info

Since commit 1d085568b3de ("tools: moveconfig: display log atomically
in more readable format"), the function color_text() is clever enough
to exclude LF from escape sequences.  Exploit it for removing the
"for" loops from Slots.show_failed_boards().

Also, display "(the list has been saved in moveconfig.failed)" if
there are failed boards.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
tools/moveconfig.py