aboutsummaryrefslogtreecommitdiffstats
path: root/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-21 17:29:18 +0000
commit730b4c50364fba7173309278d670eda02e0ce38e (patch)
tree6cfc40e74a627c64d4176ed7a0cb8e04b71cb64c /lib/bb/ui/ncurses.py
parent19c74aaa2836a88d666f0032452fac521689ab6b (diff)
downloadbitbake-730b4c50364fba7173309278d670eda02e0ce38e.tar.gz
ui/ncurses: Update ncurses ui to accept configParams
Signed-off-by: Andy Voltz <andy.voltz@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/ncurses.py')
-rw-r--r--lib/bb/ui/ncurses.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/ui/ncurses.py b/lib/bb/ui/ncurses.py
index b6c20ec38..9589a77d7 100644
--- a/lib/bb/ui/ncurses.py
+++ b/lib/bb/ui/ncurses.py
@@ -361,13 +361,13 @@ class NCursesUI:
shutdown = shutdown + 1
pass
-def main(server, eventHandler):
+def main(server, eventHandler, params):
if not os.isatty(sys.stdout.fileno()):
print("FATAL: Unable to run 'ncurses' UI without a TTY.")
return
ui = NCursesUI()
try:
- curses.wrapper(ui.main, server, eventHandler)
+ curses.wrapper(ui.main, server, eventHandler, params)
except:
import traceback
traceback.print_exc()