diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 08:29:52 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 09:30:28 +0100 |
commit | 1181d86e8707c5b8e8d43d5e785d7d9cf01fa491 (patch) | |
tree | 0e003b3b781ceee01fb16654ba0f78f3807bda55 /meta/classes/syslinux.bbclass | |
parent | 0c89a8a276b67a9292ee3100003c789126bd9ea9 (diff) | |
download | openembedded-core-1181d86e8707c5b8e8d43d5e785d7d9cf01fa491.tar.gz openembedded-core-1181d86e8707c5b8e8d43d5e785d7d9cf01fa491.tar.bz2 openembedded-core-1181d86e8707c5b8e8d43d5e785d7d9cf01fa491.zip |
classes/oeqa: Update for print statements and file() -> open() for python3uninative-1.0
Found some more syntax cleanups needed for python3.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/syslinux.bbclass')
-rw-r--r-- | meta/classes/syslinux.bbclass | 2 |
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 () { 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)) |