From 91e900f636771224623eb49fe66da071e69a639a Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Wed, 18 Feb 2015 15:09:44 +0000 Subject: bitbake: toaster: layerdetails Don't show None type in description/summary When the result for the summary or description is None don't output the result as the string version of None, use an empty value so that the "Not set" mechanism works. [YOCTO #7244] (Bitbake rev: 34397e585df0fc04ea53046347856e8cddb8f8e1) Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/layerdetails.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui') diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 465d633062..c162c8b95c 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html @@ -453,7 +453,7 @@
- {{layerversion.layer.summary}} + {{layerversion.layer.summary|default_if_none:''}}
@@ -467,7 +467,7 @@
- {{layerversion.layer.description}} + {{layerversion.layer.description|default_if_none:''}} -- cgit v1.2.3-54-g00ecf