diff options
Diffstat (limited to 'bitbake/lib/bb/ui/uihelper.py')
-rw-r--r-- | bitbake/lib/bb/ui/uihelper.py | 12 |
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 | ||
20 | import bb.build | ||
21 | |||
20 | class BBUIHelper: | 22 | class 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) |