summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-02-16 15:58:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-21 13:49:04 +0000
commitc538800fd5c7fc4350e69d3fb21325154ab88f87 (patch)
treea1197aafb71a4f629fbdf469dfec48815be5adb9 /bitbake
parent5f73918d99e1aff5447830971eb993f4a7e1e4e1 (diff)
downloadpoky-c538800fd5c7fc4350e69d3fb21325154ab88f87.tar.gz
uihelper: import bb.build, kill commented lines
(Bitbake rev: 718448e96d714adf8aaecedac5cb77c7f36b9cdb) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/uihelper.py12
1 files changed, 2 insertions, 10 deletions
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 @@
17# with this program; if not, write to the Free Software Foundation, Inc., 17# with this program; if not, write to the Free Software Foundation, Inc.,
18# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 19
20import bb.build
21
20class BBUIHelper: 22class BBUIHelper:
21 def __init__(self): 23 def __init__(self):
22 self.needUpdate = False 24 self.needUpdate = False
@@ -35,16 +37,6 @@ class BBUIHelper:
35 self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)}) 37 self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)})
36 self.needUpdate = True 38 self.needUpdate = True
37 39
38 # Add runqueue event handling
39 #if isinstance(event, bb.runqueue.runQueueTaskCompleted):
40 # a = 1
41 #if isinstance(event, bb.runqueue.runQueueTaskStarted):
42 # a = 1
43 #if isinstance(event, bb.runqueue.runQueueTaskFailed):
44 # a = 1
45 #if isinstance(event, bb.runqueue.runQueueExitWait):
46 # a = 1
47
48 def getTasks(self): 40 def getTasks(self):
49 self.needUpdate = False 41 self.needUpdate = False
50 return (self.running_tasks, self.failed_tasks) 42 return (self.running_tasks, self.failed_tasks)