diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-08 13:36:25 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-09 13:04:30 +0100 |
| commit | 766d09766030ed10258cebe28fb297a87eb1f400 (patch) | |
| tree | 9757acc230857faf9be031e41bb81c110b02fc33 /bitbake | |
| parent | 9a6c5fe1f8677aaa752534aca175bb09675ee36d (diff) | |
| download | poky-766d09766030ed10258cebe28fb297a87eb1f400.tar.gz | |
bitbake: exceptions: Add hack to workaround python 3.13 failures
(Bitbake rev: 95a48f6e4b2f60b7b477bac7db5bde10e10c5a05)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
| -rw-r--r-- | bitbake/lib/bb/exceptions.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/exceptions.py b/bitbake/lib/bb/exceptions.py index acf546de1d..60643bd642 100644 --- a/bitbake/lib/bb/exceptions.py +++ b/bitbake/lib/bb/exceptions.py | |||
| @@ -47,7 +47,11 @@ def _get_frame_args(frame): | |||
| 47 | cls = self.__class__.__name__ | 47 | cls = self.__class__.__name__ |
| 48 | 48 | ||
| 49 | arginfo.args.pop(0) | 49 | arginfo.args.pop(0) |
| 50 | del arginfo.locals['self'] | 50 | try: |
| 51 | del arginfo.locals['self'] | ||
| 52 | except TypeError: | ||
| 53 | # FIXME - python 3.13 FrameLocalsProxy can't be modified | ||
| 54 | pass | ||
| 51 | else: | 55 | else: |
| 52 | cls = None | 56 | cls = None |
| 53 | 57 | ||
