summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/ncurses.py
diff options
context:
space:
mode:
authorAndy Voltz <andy.voltz@timesys.com>2014-12-19 11:31:37 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-23 10:18:21 +0000
commit6b33e1a84020b8aaa2de6df05301b554e981407f (patch)
treea3c67d7cdf142c1d8fbebd5719e3e53d8074ea31 /bitbake/lib/bb/ui/ncurses.py
parentd31b7bdf11e0bf2ea236d645d19ff2b55605c00f (diff)
downloadpoky-6b33e1a84020b8aaa2de6df05301b554e981407f.tar.gz
bitbake: ui/ncurses: Update ncurses ui to accept configParams
(Bitbake rev: 730b4c50364fba7173309278d670eda02e0ce38e) Signed-off-by: Andy Voltz <andy.voltz@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/ncurses.py')
-rw-r--r--bitbake/lib/bb/ui/ncurses.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py
index b6c20ec388..9589a77d75 100644
--- a/bitbake/lib/bb/ui/ncurses.py
+++ b/bitbake/lib/bb/ui/ncurses.py
@@ -361,13 +361,13 @@ class NCursesUI:
361 shutdown = shutdown + 1 361 shutdown = shutdown + 1
362 pass 362 pass
363 363
364def main(server, eventHandler): 364def main(server, eventHandler, params):
365 if not os.isatty(sys.stdout.fileno()): 365 if not os.isatty(sys.stdout.fileno()):
366 print("FATAL: Unable to run 'ncurses' UI without a TTY.") 366 print("FATAL: Unable to run 'ncurses' UI without a TTY.")
367 return 367 return
368 ui = NCursesUI() 368 ui = NCursesUI()
369 try: 369 try:
370 curses.wrapper(ui.main, server, eventHandler) 370 curses.wrapper(ui.main, server, eventHandler, params)
371 except: 371 except:
372 import traceback 372 import traceback
373 traceback.print_exc() 373 traceback.print_exc()