From 21e59a68cf9bddf6209929436bc9a53bc87c3ebe 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 e6e1810d130573..3d4cea32cdefb1 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)