From: Chris Larson Date: Sat, 10 Apr 2010 00:55:11 +0000 (-0700) Subject: Fix an error in the ncurses UI X-Git-Tag: 2011-1~5545 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9f2d7d816cfe36d9e3cb895f0bd4e8d81ae3bde0;p=openembedded-core.git Fix an error in the ncurses UI (Bitbake rev: 90c68238cb62afa1c39e1d4fff1f418c9ec047e5) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- 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: