summaryrefslogtreecommitdiffstats
path: root/meta/classes/grub-efi.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/grub-efi.bbclass')
-rw-r--r--meta/classes/grub-efi.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 4ce3d2844a..d0ae6c90f8 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -91,7 +91,7 @@ python build_efi_cfg() {
91 raise bb.build.FuncFailed('Unable to read GRUB_CFG') 91 raise bb.build.FuncFailed('Unable to read GRUB_CFG')
92 92
93 try: 93 try:
94 cfgfile = file(cfile, 'w') 94 cfgfile = open(cfile, 'w')
95 except OSError: 95 except OSError:
96 raise bb.build.funcFailed('Unable to open %s' % (cfile)) 96 raise bb.build.funcFailed('Unable to open %s' % (cfile))
97 97