Move this code into a function. This removes the last pylint error in the control module.
Signed-off-by: Simon Glass <[email protected]> --- (no changes since v1) tools/buildman/control.py | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) Applied to u-boot-dm, thanks!

