* [krogoth][jethro][PATCH] meta/classes: fix bb.build.FuncFailed typos
@ 2016-08-07 8:38 Jonathan Liu
0 siblings, 0 replies; only message in thread
From: Jonathan Liu @ 2016-08-07 8:38 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
meta/classes/grub-efi.bbclass | 2 +-
meta/classes/gummiboot.bbclass | 4 ++--
meta/classes/syslinux.bbclass | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 4ce3d28..ec86627 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -93,7 +93,7 @@ python build_efi_cfg() {
try:
cfgfile = file(cfile, 'w')
except OSError:
- raise bb.build.funcFailed('Unable to open %s' % (cfile))
+ raise bb.build.FuncFailed('Unable to open %s' % (cfile))
cfgfile.write('# Automatically created by OE\n')
diff --git a/meta/classes/gummiboot.bbclass b/meta/classes/gummiboot.bbclass
index 1ebb946..96d1301 100644
--- a/meta/classes/gummiboot.bbclass
+++ b/meta/classes/gummiboot.bbclass
@@ -72,7 +72,7 @@ python build_efi_cfg() {
try:
cfgfile = open(cfile, 'w')
except OSError:
- raise bb.build.funcFailed('Unable to open %s' % (cfile))
+ raise bb.build.FuncFailed('Unable to open %s' % (cfile))
cfgfile.write('# Automatically created by OE\n')
cfgfile.write('default %s\n' % (labels.split()[0]))
@@ -95,7 +95,7 @@ python build_efi_cfg() {
try:
entrycfg = open(entryfile, "w")
except OSError:
- raise bb.build.funcFailed('Unable to open %s' % (entryfile))
+ raise bb.build.FuncFailed('Unable to open %s' % (entryfile))
localdata.setVar('OVERRIDES', label + ':' + overrides)
bb.data.update_data(localdata)
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index 52fb51f..8609cab 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -105,7 +105,7 @@ python build_syslinux_cfg () {
try:
cfgfile = file(cfile, 'w')
except OSError:
- raise bb.build.funcFailed('Unable to open %s' % (cfile))
+ raise bb.build.FuncFailed('Unable to open %s' % (cfile))
cfgfile.write('# Automatically created by OE\n')
--
2.9.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-07 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-07 8:38 [krogoth][jethro][PATCH] meta/classes: fix bb.build.FuncFailed typos Jonathan Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.