summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/widgets.py')
-rw-r--r--bitbake/lib/toaster/toastergui/widgets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py
index 7f9637060d..aaa59c083e 100644
--- a/bitbake/lib/toaster/toastergui/widgets.py
+++ b/bitbake/lib/toaster/toastergui/widgets.py
@@ -229,7 +229,8 @@ class ToasterTable(TemplateView):
229 """Creates a query based on the model's search_allowed_fields""" 229 """Creates a query based on the model's search_allowed_fields"""
230 230
231 if not hasattr(self.queryset.model, 'search_allowed_fields'): 231 if not hasattr(self.queryset.model, 'search_allowed_fields'):
232 raise Exception("Err Search fields aren't defined in the model") 232 raise Exception("Search fields aren't defined in the model %s"
233 % self.queryset.model)
233 234
234 search_queries = [] 235 search_queries = []
235 for st in search_term.split(" "): 236 for st in search_term.split(" "):