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:
parent
6363f21faf
commit
278126c4e8
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user