diff options
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/runningbuild.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py index 6f77b83c69..711697cecb 100644 --- a/bitbake/lib/bb/ui/crumbs/runningbuild.py +++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py | |||
| @@ -68,6 +68,9 @@ class RunningBuild (gobject.GObject): | |||
| 68 | parent = self.tasks_to_iter[(package, task)] | 68 | parent = self.tasks_to_iter[(package, task)] |
| 69 | 69 | ||
| 70 | if isinstance(event, bb.msg.MsgBase): | 70 | if isinstance(event, bb.msg.MsgBase): |
| 71 | # Ignore the "Running task i of n .." | ||
| 72 | if (event._message.startswith ("Running task")): | ||
| 73 | return # don't add these to the list | ||
| 71 | 74 | ||
| 72 | # Set a pretty icon for the message based on it's type. | 75 | # Set a pretty icon for the message based on it's type. |
| 73 | if isinstance(event, bb.msg.MsgWarn): | 76 | if isinstance(event, bb.msg.MsgWarn): |
| @@ -77,10 +80,6 @@ class RunningBuild (gobject.GObject): | |||
| 77 | else: | 80 | else: |
| 78 | icon = None | 81 | icon = None |
| 79 | 82 | ||
| 80 | # Ignore the "Running task i of n .." messages | ||
| 81 | if (event._message.startswith ("Running task")): | ||
| 82 | return | ||
| 83 | |||
| 84 | # Add the message to the tree either at the top level if parent is | 83 | # Add the message to the tree either at the top level if parent is |
| 85 | # None otherwise as a descendent of a task. | 84 | # None otherwise as a descendent of a task. |
| 86 | self.model.append (parent, | 85 | self.model.append (parent, |
