summaryrefslogtreecommitdiff
path: root/configure.py
diff options
context:
space:
mode:
authorcclauss <cclauss@bluewin.ch>2018-11-19 11:43:52 +0100
committerRefael Ackermann <refack@gmail.com>2018-11-19 16:30:52 -0500
commit278126c4e803bd99374b19c8d91c9c3a9a012e5b (patch)
tree1a21e7a362c2e80a086056ffb83af582b6036362 /configure.py
parent6363f21faf3ca335814536c660058eacf8df5e70 (diff)
downloadandroid-node-v8-278126c4e803bd99374b19c8d91c9c3a9a012e5b.tar.gz
android-node-v8-278126c4e803bd99374b19c8d91c9c3a9a012e5b.tar.bz2
android-node-v8-278126c4e803bd99374b19c8d91c9c3a9a012e5b.zip
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>
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index e6e1810d13..3d4cea32cd 100755
--- a/configure.py
+++ b/configure.py
@@ -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)