diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-05-26 16:12:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:04 +0100 |
commit | b63f9518e718db09e14c8287fadf0bebcdf5ec9e (patch) | |
tree | 11d28d293e7c467544e9e75723568cd67627c997 /bitbake | |
parent | 0bd6095d92de6e9a041e7b179c1925bbcada393d (diff) | |
download | poky-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.py | 11 |
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") | |||
50 | from toastergui.tablefilter import TableFilterMap | 50 | from toastergui.tablefilter import TableFilterMap |
51 | 51 | ||
52 | 52 | ||
53 | class NoFieldOrDataNme(Exception): | 53 | class NoFieldOrDataName(Exception): |
54 | pass | 54 | pass |
55 | 55 | ||
56 | class ToasterTable(TemplateView): | 56 | class 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']: |