From c67597468057745534f2b6ee1b2dbd9fb00ac12d Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Thu, 2 Jun 2016 13:12:57 +0300 Subject: scripts: python3: replace exec statement with builtin Used exec() builtin instead of 'exec' statement as this statement doesn't exist in python 3. (From meta-yocto rev: ceb6c6fac212c5e1e76bf58b793dc2b9420b4a66) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/lib/bsp/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index 5ff6c9836d..2b87d3337a 100644 --- a/scripts/lib/bsp/engine.py +++ b/scripts/lib/bsp/engine.py @@ -1362,7 +1362,7 @@ def run_program_lines(linelist, codedump): of = open("bspgen.out", "w") of.write(buf) of.close() - exec buf + exec(buf) def gen_target(files, context = None): -- cgit v1.2.3-54-g00ecf