tools: moveconfig: extract helper function for user confirmation
authorChris Packham <judge.packham@gmail.com>
Tue, 2 May 2017 09:30:46 +0000 (21:30 +1200)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 15:57:28 +0000 (11:57 -0400)
commit85edfc1f6fdf1630c00dc57a63ab66d51608092e
treeb80c0cdbabaff0e63abf5b7549ea4c01478f4305
parentd425d6056e0159ee26cb7f7037ff0b72ffd93658
tools: moveconfig: extract helper function for user confirmation

Avoid repetitive code dealing with asking the user for confirmation.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/moveconfig.py