meta/classes: fix bb.build.FuncFailed typos

(From OE-Core rev: 32fb246f7288199c74794f7736da4b32a08a756f)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jonathan Liu
2016-08-07 18:38:45 +10:00
committed by Richard Purdie
parent 8f300880c4
commit b64fa0af89
3 changed files with 4 additions and 4 deletions

View File

@@ -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')

View File

@@ -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)

View File

@@ -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')