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 authored and Rod Vagg committed 2018-11-28 11:25:28 +11:00
1 parent 2f0a5b6a45
commit 21e59a68cf
1 file changed
+3 -1
+3 -1
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)