aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-05-26 16:12:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 08:35:04 +0100
commitb63f9518e718db09e14c8287fadf0bebcdf5ec9e (patch)
tree11d28d293e7c467544e9e75723568cd67627c997 /bitbake
parent0bd6095d92de6e9a041e7b179c1925bbcada393d (diff)
downloadopenembedded-core-contrib-b63f9518e718db09e14c8287fadf0bebcdf5ec9e.tar.gz
bitbake: toaster: ToasterTable widget add an 'a' to Name in Exception class
(Bitbake rev: 4c0e07b8379381cfe887a4c65d2f61af05914082) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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")
from toastergui.tablefilter import TableFilterMap
-class NoFieldOrDataNme(Exception):
+class NoFieldOrDataName(Exception):
pass
class ToasterTable(TemplateView):
@@ -337,10 +337,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']: