summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/ncurses.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/ncurses.py')
-rw-r--r--bitbake/lib/bb/ui/ncurses.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py
index 3bc8373964..1db4ec173b 100644
--- a/bitbake/lib/bb/ui/ncurses.py
+++ b/bitbake/lib/bb/ui/ncurses.py
@@ -288,12 +288,14 @@ class NCursesUI:
288# else: 288# else:
289# bb.msg.error(bb.msg.domain.Build, "see log in %s" % logfile) 289# bb.msg.error(bb.msg.domain.Build, "see log in %s" % logfile)
290 290
291 if isinstance(event, bb.command.CookerCommandCompleted): 291 if isinstance(event, bb.command.CommandCompleted):
292 exitflag = True 292 exitflag = True
293 if isinstance(event, bb.command.CookerCommandFailed): 293 if isinstance(event, bb.command.CommandFailed):
294 mw.appendText("Command execution failed: %s" % event.error) 294 mw.appendText("Command execution failed: %s" % event.error)
295 time.sleep(2) 295 time.sleep(2)
296 exitflag = True 296 exitflag = True
297 if isinstance(event, bb.command.CommandExit):
298 exitflag = True
297 if isinstance(event, bb.cooker.CookerExit): 299 if isinstance(event, bb.cooker.CookerExit):
298 exitflag = True 300 exitflag = True
299 301