Signed-off-by: Michael Wood <[email protected]>
---
bitbake/lib/toaster/toastergui/widgets.py | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/bitbake/lib/toaster/toastergui/widgets.py
b/bitbake/lib/toaster/toastergui/widgets.py
index 4117031..17c97fd 100644
--- a/bitbake/lib/toaster/toastergui/widgets.py
+++ b/bitbake/lib/toaster/toastergui/widgets.py
@@ -46,7 +46,7 @@ logger = logging.getLogger("toaster")
from toastergui.tablefilter import TableFilterMap
-class NoFieldOrDataNme(Exception):
+class NoFieldOrDataName(Exception):
pass
class ToasterTable(TemplateView):
@@ -326,10 +326,11 @@ class ToasterTable(TemplateView):
if not field:
field = col['static_data_name']
if not field:
- raise NoFieldOrDataNme("Must supply a field_name or"
- "static_data_name for column"
- "%s.%s" %
- (self.__class__.__name__, col))
+ raise NoFieldOrDataName("Must supply a field_name or"
+ "static_data_name for column"
+ "%s.%s" %
+ (self.__class__.__name__, col)
+ )
# Check if we need to process some static data
if "static_data_name" in col and col['static_data_name']:
--
2.7.4
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster