From 99eee0a669e285bfa0a7f385f2a2e7893b6c94df Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Sun, 28 Oct 2018 10:50:07 +1300 Subject: [PATCH] selftest/format_subunit_json: py3 print() Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- selftest/format-subunit-json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/selftest/format-subunit-json b/selftest/format-subunit-json index d44918c7524..e612962e322 100644 --- a/selftest/format-subunit-json +++ b/selftest/format-subunit-json @@ -2,7 +2,7 @@ # Copyright (C) 2008-2010 Jelmer Vernooij # Copyright (C) 2016 Douglas Bagnall # Published under the GNU GPL, v3 or later - +from __future__ import print_function import optparse import os import signal @@ -42,9 +42,9 @@ def main(): f = open(fn, 'w') json_formatter(sys.stdin, f) f.close() - print - print "A JSON file summarising these tests performance found in:" - print " ", fn + print() + print("A JSON file summarising these tests performance found in:") + print(" ", fn) def handle_sigint(sig, stack): -- 2.47.2