0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-21 13:09:21 +01:00

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:
cclauss 2018-11-19 11:43:52 +01:00 committed by Refael Ackermann
parent 6363f21faf
commit 278126c4e8

View File

@ -1,3 +1,5 @@
from __future__ import print_function
import json
import sys
import errno
@ -609,7 +611,7 @@ def print_verbose(x):
if not options.verbose:
return
if type(x) is str:
print x
print(x)
else:
pprint.pprint(x, indent=2)