]> code.ossystems Code Review - openembedded-core.git/commitdiff
meta/classes: fix bb.build.FuncFailed typos
authorJonathan Liu <net147@gmail.com>
Sun, 7 Aug 2016 08:38:45 +0000 (18:38 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Sep 2016 14:25:37 +0000 (15:25 +0100)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/grub-efi.bbclass
meta/classes/gummiboot.bbclass
meta/classes/syslinux.bbclass

index 4ce3d2844acd2f3ab470d20699d8255c06254de4..ec86627e4abd6495ce962f12b6049135295668af 100644 (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')
 
index 1ebb9462d351711031132ee933c7a908e01a1fa0..96d1301379f6843314fa62fdec69c9291b28e8d4 100644 (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)
 
index 52fb51f22f41c74097e6b7ec0b88aacd4b0609a3..8609cab91049f4c02fc6b1229b8160f7a42378df 100644 (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')