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.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 7ee28fcfcb..deb1c21595 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -510,6 +510,15 @@ class MsgFatal(MsgBase):
510class MsgPlain(MsgBase): 510class MsgPlain(MsgBase):
511 """General output""" 511 """General output"""
512 512
513class LogExecTTY(Event):
514 """Send event containing program to spawn on tty of the logger"""
515 def __init__(self, msg, prog, sleep_delay, retries):
516 Event.__init__(self)
517 self.msg = msg
518 self.prog = prog
519 self.sleep_delay = sleep_delay
520 self.retries = retries
521
513class LogHandler(logging.Handler): 522class LogHandler(logging.Handler):
514 """Dispatch logging messages as bitbake events""" 523 """Dispatch logging messages as bitbake events"""
515 524