build: use print() function in configure.py
PR-URL: https://github.com/nodejs/node/pull/24484 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
parent
6363f21faf
commit
278126c4e8
@ -1,3 +1,5 @@
|
|||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import sys
|
import sys
|
||||||
import errno
|
import errno
|
||||||
@ -609,7 +611,7 @@ def print_verbose(x):
|
|||||||
if not options.verbose:
|
if not options.verbose:
|
||||||
return
|
return
|
||||||
if type(x) is str:
|
if type(x) is str:
|
||||||
print x
|
print(x)
|
||||||
else:
|
else:
|
||||||
pprint.pprint(x, indent=2)
|
pprint.pprint(x, indent=2)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user