[gnome-continuous-yocto/gnomeostree-3.28-rocko: 886/8267] bitbake: toaster: ToasterTable widget add an 'a' to Name in Exception class
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 886/8267] bitbake: toaster: ToasterTable widget add an 'a' to Name in Exception class
- Date: Sat, 16 Dec 2017 21:03:17 +0000 (UTC)
commit b63f9518e718db09e14c8287fadf0bebcdf5ec9e
Author: Michael Wood <michael g wood intel com>
Date: Thu May 26 16:12:19 2016 +0100
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>
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 034c867..584bde7 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']:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]