From ad00ac7d9b6c55ef1346f93e0d5f2f7a84f90431 Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Mon, 7 Oct 2019 12:59:36 +0200 Subject: [PATCH] parallel: use python3 compatible syntax for print Signed-off-by: Kyr Shatskyy --- teuthology/parallel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/parallel.py b/teuthology/parallel.py index d17faf326f..265dfcbdff 100644 --- a/teuthology/parallel.py +++ b/teuthology/parallel.py @@ -51,7 +51,7 @@ class parallel(object): for foo in bar: p.spawn(quux, foo, baz=True) for result in p: - print result + print(result) If one of the spawned functions throws an exception, it will be thrown when iterating over the results, or when the with block ends. -- 2.39.5