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.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py
index 034c867df4..584bde7db5 100644
--- a/bitbake/lib/toaster/toastergui/widgets.py
+++ b/bitbake/lib/toaster/toastergui/widgets.py
@@ -50,7 +50,7 @@ logger = logging.getLogger("toaster")
50from toastergui.tablefilter import TableFilterMap 50from toastergui.tablefilter import TableFilterMap
51 51
52 52
53class NoFieldOrDataNme(Exception): 53class NoFieldOrDataName(Exception):
54 pass 54 pass
55 55
56class ToasterTable(TemplateView): 56class ToasterTable(TemplateView):
@@ -337,10 +337,11 @@ class ToasterTable(TemplateView):
337 if not field: 337 if not field:
338 field = col['static_data_name'] 338 field = col['static_data_name']
339 if not field: 339 if not field:
340 raise NoFieldOrDataNme("Must supply a field_name or" 340 raise NoFieldOrDataName("Must supply a field_name or"
341 "static_data_name for column" 341 "static_data_name for column"
342 "%s.%s" % 342 "%s.%s" %
343 (self.__class__.__name__, col)) 343 (self.__class__.__name__, col)
344 )
344 345
345 # Check if we need to process some static data 346 # Check if we need to process some static data
346 if "static_data_name" in col and col['static_data_name']: 347 if "static_data_name" in col and col['static_data_name']: