From c538800fd5c7fc4350e69d3fb21325154ab88f87 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 16 Feb 2011 15:58:07 -0700 Subject: uihelper: import bb.build, kill commented lines (Bitbake rev: 718448e96d714adf8aaecedac5cb77c7f36b9cdb) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/uihelper.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'bitbake/lib/bb/ui/uihelper.py') diff --git a/bitbake/lib/bb/ui/uihelper.py b/bitbake/lib/bb/ui/uihelper.py index 698de03f0a..617d60db82 100644 --- a/bitbake/lib/bb/ui/uihelper.py +++ b/bitbake/lib/bb/ui/uihelper.py @@ -17,6 +17,8 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +import bb.build + class BBUIHelper: def __init__(self): self.needUpdate = False @@ -35,16 +37,6 @@ class BBUIHelper: self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)}) self.needUpdate = True - # Add runqueue event handling - #if isinstance(event, bb.runqueue.runQueueTaskCompleted): - # a = 1 - #if isinstance(event, bb.runqueue.runQueueTaskStarted): - # a = 1 - #if isinstance(event, bb.runqueue.runQueueTaskFailed): - # a = 1 - #if isinstance(event, bb.runqueue.runQueueExitWait): - # a = 1 - def getTasks(self): self.needUpdate = False return (self.running_tasks, self.failed_tasks) -- cgit v1.2.3-54-g00ecf