summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 13489af6fd..28b03d30b2 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -480,7 +480,12 @@ def builddashboard( request, build_id ):
480 if ( ndx < 0 ): 480 if ( ndx < 0 ):
481 ndx = 0; 481 ndx = 0;
482 f = i.file_name[ ndx + 1: ] 482 f = i.file_name[ ndx + 1: ]
483 imageFiles.append({ 'id': i.id, 'path': f, 'size' : i.file_size }) 483 imageFiles.append({
484 'id': i.id,
485 'path': f,
486 'size': i.file_size,
487 'suffix': i.suffix
488 })
484 if t.is_image and (len(imageFiles) <= 0 or len(t.license_manifest_path) <= 0): 489 if t.is_image and (len(imageFiles) <= 0 or len(t.license_manifest_path) <= 0):
485 targetHasNoImages = True 490 targetHasNoImages = True
486 elem[ 'imageFiles' ] = imageFiles 491 elem[ 'imageFiles' ] = imageFiles