summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/export.py
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@cold-front.org>2022-10-24 16:07:41 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-29 16:30:43 +0100
commit6ca9f04b8e2cf1475ead09e55ac6282cab3ee9e7 (patch)
tree0ae249eacf9a3435106598b02f3663ef9428620c /scripts/lib/devtool/export.py
parenteff3042f0eb0b66d57199fdc920f7fe7ed1c02d6 (diff)
downloadpoky-6ca9f04b8e2cf1475ead09e55ac6282cab3ee9e7.tar.gz
bitbake: asyncrpc: serv: correct closed client socket detection
If the client socket is closed, asyncio.StreamReader.readline() will return an empty bytes object, not None. This prevents multiple tracebacks being logged by bitbake-hashserv each time bitbake is started and performs a connection check. (Bitbake rev: 2d07f252704dff7747fa1f9adf223a452806717f) Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/export.py')
0 files changed, 0 insertions, 0 deletions