summaryrefslogtreecommitdiffstats
path: root/meta/classes/syslinux.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/syslinux.bbclass')
-rw-r--r--meta/classes/syslinux.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index 4fcb0c5e72..d4ae699375 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -102,7 +102,7 @@ python build_syslinux_cfg () {
102 raise bb.build.FuncFailed('Unable to read SYSLINUX_CFG') 102 raise bb.build.FuncFailed('Unable to read SYSLINUX_CFG')
103 103
104 try: 104 try:
105 cfgfile = file(cfile, 'w') 105 cfgfile = open(cfile, 'w')
106 except OSError: 106 except OSError:
107 raise bb.build.funcFailed('Unable to open %s' % (cfile)) 107 raise bb.build.funcFailed('Unable to open %s' % (cfile))
108 108