From e2be6defbb9fcf25f9df04c3b452d0dba48dfd03 Mon Sep 17 00:00:00 2001 From: Chris Laplante Date: Tue, 25 Aug 2020 12:51:41 -0400 Subject: 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 Signed-off-by: Richard Purdie --- lib/bb/event.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/bb/event.py') 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() -- cgit 1.2.3-korg