Put this in its own function to reduce the size of the run_commit() function Signed-off-by: Simon Glass <sjg at chromium.org> --- (no changes since v1) tools/buildman/builderthread.py | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) Applied to u-boot-dm, thanks!