diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/widgets.py')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/widgets.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py index a1792d997f..88dff8a857 100644 --- a/bitbake/lib/toaster/toastergui/widgets.py +++ b/bitbake/lib/toaster/toastergui/widgets.py | |||
| @@ -89,6 +89,10 @@ class ToasterTable(TemplateView): | |||
| 89 | 89 | ||
| 90 | # global variables | 90 | # global variables |
| 91 | context['project_enable'] = ('1' == os.environ.get('TOASTER_BUILDSERVER')) | 91 | context['project_enable'] = ('1' == os.environ.get('TOASTER_BUILDSERVER')) |
| 92 | try: | ||
| 93 | context['project_specific'] = ('1' == os.environ.get('TOASTER_PROJECTSPECIFIC')) | ||
| 94 | except: | ||
| 95 | context['project_specific'] = '' | ||
| 92 | 96 | ||
| 93 | return context | 97 | return context |
| 94 | 98 | ||
| @@ -519,6 +523,8 @@ class MostRecentBuildsView(View): | |||
| 519 | int((build_obj.repos_cloned / | 523 | int((build_obj.repos_cloned / |
| 520 | build_obj.repos_to_clone) * 100) | 524 | build_obj.repos_to_clone) * 100) |
| 521 | 525 | ||
| 526 | build['progress_item'] = build_obj.progress_item | ||
| 527 | |||
| 522 | tasks_complete_percentage = 0 | 528 | tasks_complete_percentage = 0 |
| 523 | if build_obj.outcome in (Build.SUCCEEDED, Build.FAILED): | 529 | if build_obj.outcome in (Build.SUCCEEDED, Build.FAILED): |
| 524 | tasks_complete_percentage = 100 | 530 | tasks_complete_percentage = 100 |
