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 <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>
  • Loading branch information
cclauss authored and codebytere committed Jan 29, 2019
1 parent 40773c0 commit 5c3736a
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 @@ -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)

Expand Down

0 comments on commit 5c3736a

Please sign in to comment.