diff options
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index aabc3d0cd8..a206f80b64 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -357,6 +357,8 @@ def generateCoveredList2( revlist = [] ): | |||
357 | covered_list = [ x for x in revlist if x.outcome == Task.OUTCOME_COVERED ] | 357 | covered_list = [ x for x in revlist if x.outcome == Task.OUTCOME_COVERED ] |
358 | while len(covered_list): | 358 | while len(covered_list): |
359 | revlist = [ x for x in revlist if x.outcome != Task.OUTCOME_COVERED ] | 359 | revlist = [ x for x in revlist if x.outcome != Task.OUTCOME_COVERED ] |
360 | if len(revlist) > 0: | ||
361 | return revlist | ||
360 | 362 | ||
361 | newlist = _find_task_revdep_list(covered_list) | 363 | newlist = _find_task_revdep_list(covered_list) |
362 | 364 | ||
@@ -379,10 +381,7 @@ def task( request, build_id, task_id ): | |||
379 | coveredBy = ''; | 381 | coveredBy = ''; |
380 | if ( task.outcome == Task.OUTCOME_COVERED ): | 382 | if ( task.outcome == Task.OUTCOME_COVERED ): |
381 | # _list = generateCoveredList( task ) | 383 | # _list = generateCoveredList( task ) |
382 | _list = generateCoveredList2( _find_task_revdep( task ) ) | 384 | coveredBy = sorted(generateCoveredList2( _find_task_revdep( task ) ), key = lambda x: x.recipe.name) |
383 | coveredBy = [ ] | ||
384 | for t in _list: | ||
385 | coveredBy.append( t ) | ||
386 | log_head = '' | 385 | log_head = '' |
387 | log_body = '' | 386 | log_body = '' |
388 | if task.outcome == task.OUTCOME_FAILED: | 387 | if task.outcome == task.OUTCOME_FAILED: |