summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r--bitbake/lib/bb/event.py16
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
13import sys
14import pickle
15import logging
16import atexit
17import traceback
18import ast 13import ast
14import atexit
15import collections
16import logging
17import pickle
18import sys
19import threading 19import threading
20import traceback
20 21
21import bb.utils
22import bb.compat
23import bb.exceptions 22import bb.exceptions
23import 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
58def clean_class_handlers(): 58def 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()