Skip to content

Commit 21e59a6

Browse files
cclaussrvagg
authored andcommitted
build: use print() function in configure.py
PR-URL: #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>
1 parent 2f0a5b6 commit 21e59a6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎configure.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ importprint_function
2+
13
importjson
24
importsys
35
importerrno
@@ -609,7 +611,7 @@ def print_verbose(x):
609611
ifnotoptions.verbose:
610612
return
611613
iftype(x) isstr:
612-
printx
614+
print(x)
613615
else:
614616
pprint.pprint(x, indent=2)
615617

0 commit comments

Comments
 (0)