summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-06-02 13:12:57 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 13:13:31 +0100
commitc67597468057745534f2b6ee1b2dbd9fb00ac12d (patch)
treeeac501ced17ab383ef3ac352866f2d7d21829888 /scripts/lib/bsp
parent059dd9f733d295f9e7c6f3cb737f66f9cf3dd984 (diff)
downloadpoky-c67597468057745534f2b6ee1b2dbd9fb00ac12d.tar.gz
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 <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp')
-rw-r--r--scripts/lib/bsp/engine.py2
1 files changed, 1 insertions, 1 deletions
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):
1362 of = open("bspgen.out", "w") 1362 of = open("bspgen.out", "w")
1363 of.write(buf) 1363 of.write(buf)
1364 of.close() 1364 of.close()
1365 exec buf 1365 exec(buf)
1366 1366
1367 1367
1368def gen_target(files, context = None): 1368def gen_target(files, context = None):