diff options
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 11c063fcc8..2826e3554f 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -50,8 +50,17 @@ class Event(object): | |||
50 | Registered = 10 | 50 | Registered = 10 |
51 | AlreadyRegistered = 14 | 51 | AlreadyRegistered = 14 |
52 | 52 | ||
53 | def get_class_handlers(): | ||
54 | return _handlers | ||
55 | |||
56 | def set_class_handlers(h): | ||
57 | _handlers = h | ||
58 | |||
59 | def clean_class_handlers(): | ||
60 | return bb.compat.OrderedDict() | ||
61 | |||
53 | # Internal | 62 | # Internal |
54 | _handlers = bb.compat.OrderedDict() | 63 | _handlers = clean_class_handlers() |
55 | _ui_handlers = {} | 64 | _ui_handlers = {} |
56 | _ui_handler_seq = 0 | 65 | _ui_handler_seq = 0 |
57 | 66 | ||