From: Michael Wood Date: Thu, 26 May 2016 15:12:19 +0000 (+0100) Subject: toaster: ToasterTable widget add an 'a' to Name in Exception class X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c0e07b8379381cfe887a4c65d2f61af05914082;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: ToasterTable widget add an 'a' to Name in Exception class Signed-off-by: Michael Wood --- diff --git a/lib/toaster/toastergui/widgets.py b/lib/toaster/toastergui/widgets.py index 034c867df43..584bde7db51 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']: