diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/runningbuild.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py index 0a48a6ba55..16a955d2b1 100644 --- a/bitbake/lib/bb/ui/crumbs/runningbuild.py +++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py | |||
@@ -174,13 +174,13 @@ class RunningBuild (gobject.GObject): | |||
174 | color, | 174 | color, |
175 | 0)) | 175 | 0)) |
176 | 176 | ||
177 | # if there are warnings, mark the task with warning | 177 | # if there are warnings while processing a package |
178 | # color; | 178 | # (parent), mark the task with warning color; |
179 | # in case there are errors, the updates will be | 179 | # in case there are errors, the updates will be |
180 | # handled on TaskFailed. | 180 | # handled on TaskFailed. |
181 | if color == HobColors.WARNING: | 181 | if color == HobColors.WARNING and parent: |
182 | self.model.set(parent, self.model.COL_COLOR, color) | 182 | self.model.set(parent, self.model.COL_COLOR, color) |
183 | if task: #then we have a parent, and update it's color | 183 | if task: #then we have a parent (package), and update it's color |
184 | self.model.set(self.tasks_to_iter[(package, None)], self.model.COL_COLOR, color) | 184 | self.model.set(self.tasks_to_iter[(package, None)], self.model.COL_COLOR, color) |
185 | 185 | ||
186 | elif isinstance(event, bb.build.TaskStarted): | 186 | elif isinstance(event, bb.build.TaskStarted): |