mirror of
git://git.yoctoproject.org/poky
synced 2026-10-22 16:55:33 +00:00
classes/oeqa: Update for print statements and file() -> open() for python3
Found some more syntax cleanups needed for python3. (From OE-Core rev: 1181d86e8707c5b8e8d43d5e785d7d9cf01fa491) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
ca2edae7c3
commit
9094ea9fdd
7 files changed
+21
-21
No files matched your search
@@ -102,7 +102,7 @@ python build_syslinux_cfg () {
|
||||
raise bb.build.FuncFailed('Unable to read SYSLINUX_CFG')
|
||||
|
||||
try:
|
||||
cfgfile = file(cfile, 'w')
|
||||
cfgfile = open(cfile, 'w')
|
||||
except OSError:
|
||||
raise bb.build.funcFailed('Unable to open %s' % (cfile))
|
||||
|
||||
|
||||
Reference in new issue
Block a user