From 5c3736a7720f37004e343ff80d3cd13d357c753f Mon Sep 17 00:00:00 2001 From: cclauss Date: Mon, 19 Nov 2018 11:43:52 +0100 Subject: [PATCH] build: use print() function in configure.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/24484 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Richard Lau Reviewed-By: Refael Ackermann Reviewed-By: Michaƫl Zasso --- configure.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 0a7ffba5e069b0..b62be2302c846d 100755 --- a/configure.py +++ b/configure.py @@ -1,3 +1,5 @@ +from __future__ import print_function + import json import sys import errno @@ -608,7 +610,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)