summaryrefslogtreecommitdiff
path: root/test/py/u_boot_spawn.py
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-09-15 00:34:43 +0300
committerSimon Glass <sjg@chromium.org>2018-07-10 23:50:50 +0300
commitdffd56d1d270e4797e43272a6c9000b8b8aeaf29 (patch)
treebef4fb8c44874d9b2a8d5214a675f80fb8d63633 /test/py/u_boot_spawn.py
parente3396ffd720877976141fa0b76a0b8ee9643d7d1 (diff)
downloadu-boot-dffd56d1d270e4797e43272a6c9000b8b8aeaf29.tar.xz
test/py: Make print statements python 3.x safe
In python 3.x print must be called as a function rather than used as a statement. Update uses of print to the function call syntax in order to be python 3.x safe. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'test/py/u_boot_spawn.py')
-rw-r--r--test/py/u_boot_spawn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/u_boot_spawn.py b/test/py/u_boot_spawn.py
index 108498a9a4..77a010a33f 100644
--- a/test/py/u_boot_spawn.py
+++ b/test/py/u_boot_spawn.py
@@ -58,7 +58,7 @@ class Spawn(object):
os.chdir(cwd)
os.execvp(args[0], args)
except:
- print 'CHILD EXECEPTION:'
+ print('CHILD EXECEPTION:')
import traceback
traceback.print_exc()
finally: