From 1181d86e8707c5b8e8d43d5e785d7d9cf01fa491 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 May 2016 08:29:52 +0100 Subject: classes/oeqa: Update for print statements and file() -> open() for python3 Found some more syntax cleanups needed for python3. Signed-off-by: Richard Purdie --- meta/classes/grub-efi.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/grub-efi.bbclass') 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() { raise bb.build.FuncFailed('Unable to read GRUB_CFG') try: - cfgfile = file(cfile, 'w') + cfgfile = open(cfile, 'w') except OSError: raise bb.build.funcFailed('Unable to open %s' % (cfile)) -- cgit 1.2.3-korg