diff options
| author | Justin Bronder <jsbronder@cold-front.org> | 2022-10-24 16:07:41 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-29 16:30:43 +0100 |
| commit | 6ca9f04b8e2cf1475ead09e55ac6282cab3ee9e7 (patch) | |
| tree | 0ae249eacf9a3435106598b02f3663ef9428620c /scripts/lib/build_perf/report.py | |
| parent | eff3042f0eb0b66d57199fdc920f7fe7ed1c02d6 (diff) | |
| download | poky-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/build_perf/report.py')
0 files changed, 0 insertions, 0 deletions
