buildman: Use common code to send an result
authorSimon Glass <sjg@chromium.org>
Sun, 11 Apr 2021 04:27:26 +0000 (16:27 +1200)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Apr 2021 10:23:39 +0000 (03:23 -0700)
commitab9b4f35e38bf9725a13d2e487d1d5962ab412bb
tree27675d4d1b170fa327f8b9e379eed01587fdaef6
parent249933136f860eb35f8729f4774b7058744bf31f
buildman: Use common code to send an result

At present the code to report a build result is duplicated. Put it in a
common function to avoid this.

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