buildman: Avoid too many returns in do_buildman()
authorSimon Glass <sjg@chromium.org>
Wed, 19 Jul 2023 23:48:51 +0000 (17:48 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 24 Jul 2023 15:34:11 +0000 (09:34 -0600)
commit573b30377dce76466b24ffd9edad3ac110878deb
tree05ad7759bb49806964cffbe47c3133c267662adb
parent6378bad3853d632530ff7b17a2a6b8ce6360a843
buildman: Avoid too many returns in do_buildman()

Fix the pylint warning by using a variable instead of lots of 'return'
statements.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/control.py