summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-02-16 15:58:07 -0700
committerChris Larson <chris_larson@mentor.com>2011-02-16 15:58:11 -0700
commit718448e96d714adf8aaecedac5cb77c7f36b9cdb (patch)
treed8610b7cce9899349aff2ddde35505cb7f1aea8d /lib
parente9e174e5781fc3de4dfd60d01228048a06a62b16 (diff)
downloadbitbake-718448e96d714adf8aaecedac5cb77c7f36b9cdb.tar.gz
uihelper: import bb.build, kill commented lines
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/ui/uihelper.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/bb/ui/uihelper.py b/lib/bb/ui/uihelper.py
index 698de03f0..617d60db8 100644
--- a/lib/bb/ui/uihelper.py
+++ b/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)