Move this code into a new function. This removes the pylint warning about too many branches. Signed-off-by: Simon Glass <sjg at chromium.org> --- (no changes since v1) tools/buildman/control.py | 56 ++++++++++++++++++++++++--------------- 1 file changed, 35 insertions(+), 21 deletions(-) Applied to u-boot-dm, thanks!