[oe-commits] [bitbake] 08/44: toaster: ToasterTable widget add an 'a' to Name in Exception class
git at git.openembedded.org
git at git.openembedded.org
Mon Jun 13 21:10:56 UTC 2016
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 4c0e07b8379381cfe887a4c65d2f61af05914082
Author: Michael Wood <michael.g.wood at intel.com>
AuthorDate: Thu May 26 16:12:19 2016 +0100
toaster: ToasterTable widget add an 'a' to Name in Exception class
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
lib/toaster/toastergui/widgets.py | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/lib/toaster/toastergui/widgets.py b/lib/toaster/toastergui/widgets.py
index 034c867..584bde7 100644
--- a/lib/toaster/toastergui/widgets.py
+++ b/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']:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list