diff options
Diffstat (limited to 'poky/bitbake/lib/toaster/toastergui/widgets.py')
-rw-r--r-- | poky/bitbake/lib/toaster/toastergui/widgets.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/poky/bitbake/lib/toaster/toastergui/widgets.py b/poky/bitbake/lib/toaster/toastergui/widgets.py index feef7c5d9..db5c3aa00 100644 --- a/poky/bitbake/lib/toaster/toastergui/widgets.py +++ b/poky/bitbake/lib/toaster/toastergui/widgets.py @@ -89,6 +89,10 @@ class ToasterTable(TemplateView): # global variables context['project_enable'] = ('1' == os.environ.get('TOASTER_BUILDSERVER')) + try: + context['project_specific'] = ('1' == os.environ.get('TOASTER_PROJECTSPECIFIC')) + except: + context['project_specific'] = '' return context @@ -524,6 +528,8 @@ class MostRecentBuildsView(View): else: build['repos_cloned_percentage'] = 0 + build['progress_item'] = build_obj.progress_item + tasks_complete_percentage = 0 if build_obj.outcome in (Build.SUCCEEDED, Build.FAILED): tasks_complete_percentage = 100 |