diff options
author | Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> | 2024-12-06 17:51:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-09 15:23:28 +0000 |
commit | 0c8b34b55d299df3f0b2b3d1df6c292d1ce87b62 (patch) | |
tree | 1ec7249f062802d7b8aef33287051f8fcaee8d65 /scripts/lib/devtool/runqemu.py | |
parent | 975861e6a1a0dfa43f59b3b64bf998676e5c417b (diff) | |
download | poky-0c8b34b55d299df3f0b2b3d1df6c292d1ce87b62.tar.gz |
qemurunner: Fix stack trace generation in exception handler
Qemurunner exception handling code currently formats the stack trace
using traceback.format_exception(), with parameters introduced in python
3.10. This will fail on platforms with an older python version.
Change this to the old parameter order, still supported in current
python versions.
https://docs.python.org/3/library/traceback.html#traceback.format_exception
Fixes [YOCTO #15675]
(From OE-Core rev: 5f9ecf5f210e967594069f172728fd5b4d5b4f1d)
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions