mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
selftest/format_subunit_json: py3 print()
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <noel.power@suse.com>
This commit is contained in:
parent
371297a59b
commit
99eee0a669
@ -2,7 +2,7 @@
|
||||
# Copyright (C) 2008-2010 Jelmer Vernooij <jelmer@samba.org>
|
||||
# Copyright (C) 2016 Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
|
||||
# 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):
|
||||
|
Loading…
Reference in New Issue
Block a user