diff options
| author | Chris Laplante <chris.laplante@agilent.com> | 2020-08-25 12:51:41 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-26 09:05:38 +0100 |
| commit | 77441a08d4ba27996a651651e65f63af76e2503e (patch) | |
| tree | 994b1fa370372cf0d2c45fa066b3ae5fb90e6366 /bitbake/lib/bb/event.py | |
| parent | 392b2cf529660da75013352a4249492ac55b36e6 (diff) | |
| download | poky-77441a08d4ba27996a651651e65f63af76e2503e.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: e2be6defbb9fcf25f9df04c3b452d0dba48dfd03)
Signed-off-by: Chris Laplante <chris.laplante@agilent.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 0e6d9b2964..694b470520 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() |
