diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templatetags/projecttags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py index 3dd0f3dbe2..ee08ab74a9 100644 --- a/bitbake/lib/toaster/toastergui/templatetags/projecttags.py +++ b/bitbake/lib/toaster/toastergui/templatetags/projecttags.py | |||
@@ -247,5 +247,5 @@ def get_dict_value(dictionary, key): | |||
247 | """ | 247 | """ |
248 | try: | 248 | try: |
249 | return dictionary[key] | 249 | return dictionary[key] |
250 | except KeyError: | 250 | except (KeyError, IndexError): |
251 | return '' | 251 | return '' |