patman: Make print statements python 3.x safe
authorPaul Burton <paul.burton@imgtec.com>
Tue, 27 Sep 2016 15:03:50 +0000 (16:03 +0100)
committersjg <sjg@chromium.org>
Sun, 9 Oct 2016 15:30:32 +0000 (09:30 -0600)
commita920a17b2f418535870788ae81234dc6b8aa6661
tree2986de030de65467a4830c6fafb79d5e142b7729
parent12e5476df33a24ff781e6f78404792e4b8596c28
patman: Make print statements python 3.x safe

In python 3.x, print must be used as a function call. Convert all print
statements to the function call style, importing from __future__ where
we print with no trailing newline or print to a file object.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/patman/checkpatch.py
tools/patman/get_maintainer.py
tools/patman/gitutil.py
tools/patman/patchstream.py
tools/patman/patman.py
tools/patman/series.py
tools/patman/settings.py
tools/patman/terminal.py
tools/patman/test.py