selftest/filter-subunit: use py3 print
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sat, 9 Mar 2019 00:27:16 +0000 (13:27 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 12 Mar 2019 00:42:18 +0000 (00:42 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/filter-subunit

index 4340439dd3bfe9d4ddb180fbd940a3ab0beac931..d67fbaceb51e0d4edb33aafcc4a568bf2ffafb2b 100755 (executable)
@@ -61,9 +61,9 @@ if opts.perf_test_output:
         if getattr(opts, bad_opt):
             bad_options.append(bad_opt)
     if bad_options:
-        print >>sys.stderr, ("--perf-test-output is incompatible with --%s" %
-                             (', --'.join(x.replace('_', '-')
-                                          for x in bad_options)))
+        print("--perf-test-output is incompatible with --%s" %
+              (', --'.join(x.replace('_', '-') for x in bad_options)),
+              file=sys.stderr)
         sys.exit(1)
 
 if opts.expected_failures: