summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/ui
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/lib/bb/ui
parent5f73918d99e1aff5447830971eb993f4a7e1e4e1 (diff)
downloadopenembedded-core-c538800fd5c7fc4350e69d3fb21325154ab88f87.tar.gz
openembedded-core-c538800fd5c7fc4350e69d3fb21325154ab88f87.tar.bz2
openembedded-core-c538800fd5c7fc4350e69d3fb21325154ab88f87.tar.xz
openembedded-core-c538800fd5c7fc4350e69d3fb21325154ab88f87.zip
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/lib/bb/ui')
-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 698de03f0..617d60db8 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)