[bitbake-devel] [PATCH] update ncurses ui to accept configParams
Andy Voltz
andy.voltz at timesys.com
Fri Dec 19 16:31:37 UTC 2014
Signed-off-by: Andy Voltz <andy.voltz at timesys.com>
---
lib/bb/ui/ncurses.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bb/ui/ncurses.py b/lib/bb/ui/ncurses.py
index b6c20ec..9589a77 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()
--
2.1.3
More information about the bitbake-devel
mailing list