diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/runningbuild.py')
-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): parent = self.tasks_to_iter[(package, task)] if isinstance(event, bb.msg.MsgBase): + # Ignore the "Running task i of n .." + if (event._message.startswith ("Running task")): + return # don't add these to the list # Set a pretty icon for the message based on it's type. if isinstance(event, bb.msg.MsgWarn): @@ -77,10 +80,6 @@ class RunningBuild (gobject.GObject): else: icon = None - # Ignore the "Running task i of n .." messages - if (event._message.startswith ("Running task")): - return - # Add the message to the tree either at the top level if parent is # None otherwise as a descendent of a task. self.model.append (parent, |