aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/event.py
diff options
context:
space:
mode:
authorChris Laplante <chris.laplante@agilent.com>2020-08-25 12:51:41 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-25 18:25:59 +0100
commite2be6defbb9fcf25f9df04c3b452d0dba48dfd03 (patch)
tree2513e832d1f7675d800e2ac29f0fb5b6faa52573 /lib/bb/event.py
parent387a339b330e8122a62a148249beb3f064dd4e3d (diff)
downloadbitbake-e2be6defbb9fcf25f9df04c3b452d0dba48dfd03.tar.gz
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. Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r--lib/bb/event.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py
index 0e6d9b296..694b47052 100644
--- a/lib/bb/event.py
+++ b/lib/bb/event.py
@@ -10,17 +10,17 @@ BitBake build tools.
# SPDX-License-Identifier: GPL-2.0-only
#
-import sys
-import pickle
-import logging
-import atexit
-import traceback
import ast
+import atexit
+import collections
+import logging
+import pickle
+import sys
import threading
+import traceback
-import bb.utils
-import bb.compat
import bb.exceptions
+import bb.utils
# This is the pid for which we should generate the event. This is set when
# the runqueue forks off.
@@ -56,7 +56,7 @@ def set_class_handlers(h):
_handlers = h
def clean_class_handlers():
- return bb.compat.OrderedDict()
+ return collections.OrderedDict()
# Internal
_handlers = clean_class_handlers()