diff options
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() |
