Skip to content

Commit

Permalink
build: use print() function in configure.py
Browse files Browse the repository at this point in the history
PR-URL: #24484
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
cclauss authored and rvagg committed Nov 28, 2018
1 parent 2f0a5b6 commit 21e59a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import print_function

import json
import sys
import errno
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 21e59a6

Please sign in to comment.