From: Douglas Bagnall Date: Sat, 27 Oct 2018 21:50:07 +0000 (+1300) Subject: selftest/format_subunit_json: py3 print() X-Git-Tag: tdb-1.3.17~1048 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99eee0a669e285bfa0a7f385f2a2e7893b6c94df;p=thirdparty%2Fsamba.git selftest/format_subunit_json: py3 print() Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- 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):