summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/utils.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-01 13:20:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-03 18:01:29 +0000
commit2bd54942917d8ed51d85cc291162002eac7bd133 (patch)
treef9e870310bcb29528a663242bf2e40a4d0bafbe4 /bitbake/lib/bb/utils.py
parent44f2059a93f1af2e749b26705ec90b47b1cea45d (diff)
downloadpoky-2bd54942917d8ed51d85cc291162002eac7bd133.tar.gz
buildstats: Avoid rare UnboundLocalError
In rare cases BUILDNAME can seemingly be None outside of heartbeat events which leads to UnboundLocalErrors as bsdir and taskdir aren't defined. Skip the code in these cases rather than generate tracebacks which cause bitbake server to exit. (From OE-Core rev: 0f74d804ba0daf7e8bd6481597740b9d89821414) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/utils.py')
0 files changed, 0 insertions, 0 deletions