]> git.sur5r.net Git - u-boot/commit
tools: moveconfig: make Slot.poll() more readable with helper methods
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 8 Jun 2016 02:47:37 +0000 (11:47 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 12 Jun 2016 22:46:28 +0000 (07:46 +0900)
commite307fa9d89e0f12e900c0fe80c76453fc1c7c2b6
tree6e5f4767cf43321dafbe9127971cb5d1b3d35292
parent6a9f79f712dfce7c451c26120ffc112d3e1a88e7
tools: moveconfig: make Slot.poll() more readable with helper methods

The Slot.poll() method is already complicated and a new feature
we are going to add will make it more difficult to understand
the execution flow.

Refactor it with helper methods, .handle_error(), .do_defconfig(),
.do_autoconf(), .do_savedefconfig, and .update_defconfig().

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
tools/moveconfig.py