diff options
| author | Chris Laplante <chris.laplante@agilent.com> | 2021-10-19 10:06:09 -1000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-23 17:47:38 +0100 |
| commit | c35f34361e94a81660c6e1f59d770f8a165e7f53 (patch) | |
| tree | 836d771437604d9ff369f5de9aec63dc651a7cf5 /bitbake/lib/bb/event.py | |
| parent | d2f1a20a19a8a1d604e703d630421a2cdbe65e14 (diff) | |
| download | poky-c35f34361e94a81660c6e1f59d770f8a165e7f53.tar.gz | |
bitbake: compat.py: remove file since it no longer actually implements anything
Now that compat.py just imports Python standard library stuff, get rid
of the layer of indirection.
(Bitbake rev: 2a40a776efd7c28fa93a8556accccb79e3a7d0f0)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e2be6defbb9fcf25f9df04c3b452d0dba48dfd03)
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/event.py')
| -rw-r--r-- | bitbake/lib/bb/event.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index d1359f0100..cb0b3b3345 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
| @@ -10,17 +10,17 @@ BitBake build tools. | |||
| 10 | # SPDX-License-Identifier: GPL-2.0-only | 10 | # SPDX-License-Identifier: GPL-2.0-only |
| 11 | # | 11 | # |
| 12 | 12 | ||
| 13 | import sys | ||
| 14 | import pickle | ||
| 15 | import logging | ||
| 16 | import atexit | ||
| 17 | import traceback | ||
| 18 | import ast | 13 | import ast |
| 14 | import atexit | ||
| 15 | import collections | ||
| 16 | import logging | ||
| 17 | import pickle | ||
| 18 | import sys | ||
| 19 | import threading | 19 | import threading |
| 20 | import traceback | ||
| 20 | 21 | ||
| 21 | import bb.utils | ||
| 22 | import bb.compat | ||
| 23 | import bb.exceptions | 22 | import bb.exceptions |
| 23 | import bb.utils | ||
| 24 | 24 | ||
| 25 | # This is the pid for which we should generate the event. This is set when | 25 | # This is the pid for which we should generate the event. This is set when |
| 26 | # the runqueue forks off. | 26 | # the runqueue forks off. |
| @@ -56,7 +56,7 @@ def set_class_handlers(h): | |||
| 56 | _handlers = h | 56 | _handlers = h |
| 57 | 57 | ||
| 58 | def clean_class_handlers(): | 58 | def clean_class_handlers(): |
| 59 | return bb.compat.OrderedDict() | 59 | return collections.OrderedDict() |
| 60 | 60 | ||
| 61 | # Internal | 61 | # Internal |
| 62 | _handlers = clean_class_handlers() | 62 | _handlers = clean_class_handlers() |
