diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 889b6c64ca..d29ddd6099 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -522,7 +522,9 @@ def builddashboard( request, build_id ): | |||
522 | 522 | ||
523 | 523 | ||
524 | 524 | ||
525 | def generateCoveredList2( revlist = [] ): | 525 | def generateCoveredList2( revlist = None ): |
526 | if not revlist: | ||
527 | revlist = [] | ||
526 | covered_list = [ x for x in revlist if x.outcome == Task.OUTCOME_COVERED ] | 528 | covered_list = [ x for x in revlist if x.outcome == Task.OUTCOME_COVERED ] |
527 | while len(covered_list): | 529 | while len(covered_list): |
528 | revlist = [ x for x in revlist if x.outcome != Task.OUTCOME_COVERED ] | 530 | revlist = [ x for x in revlist if x.outcome != Task.OUTCOME_COVERED ] |