From 9f2d7d816cfe36d9e3cb895f0bd4e8d81ae3bde0 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 9 Apr 2010 17:55:11 -0700 Subject: Fix an error in the ncurses UI (Bitbake rev: 90c68238cb62afa1c39e1d4fff1f418c9ec047e5) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/ncurses.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py index 2c10f380de..da3690e5ca 100644 --- a/bitbake/lib/bb/ui/ncurses.py +++ b/bitbake/lib/bb/ui/ncurses.py @@ -301,12 +301,12 @@ class NCursesUI: taw.setText(0, 0, "") if activetasks: taw.appendText("Active Tasks:\n") - for task in activetasks: - taw.appendText(task) + for task in activetasks.itervalues(): + taw.appendText(task["title"]) if failedtasks: taw.appendText("Failed Tasks:\n") for task in failedtasks: - taw.appendText(task) + taw.appendText(task["title"]) curses.doupdate() except KeyboardInterrupt: -- cgit v1.2.3