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:31:23 +0100 |
commit | 9094ea9fdd1f23cbc9f7a9d0d95fb330c5ea8906 (patch) | |
tree | ac254d468956292d45e9ab7ead3fbe16f1558f62 /meta/classes/grub-efi.bbclass | |
parent | ca2edae7c3585204a11f6d9d69351d37880bf761 (diff) | |
download | poky-9094ea9fdd1f23cbc9f7a9d0d95fb330c5ea8906.tar.gz |
classes/oeqa: Update for print statements and file() -> open() for python3uninative-1.0
Found some more syntax cleanups needed for python3.
(From OE-Core rev: 1181d86e8707c5b8e8d43d5e785d7d9cf01fa491)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/grub-efi.bbclass')
-rw-r--r-- | meta/classes/grub-efi.bbclass | 2 |
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 | ||