diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-09-27 16:03:50 +0100 |
---|---|---|
committer | sjg <sjg@chromium.org> | 2016-10-09 09:30:32 -0600 |
commit | a920a17b2f418535870788ae81234dc6b8aa6661 (patch) | |
tree | 2986de030de65467a4830c6fafb79d5e142b7729 /tools/patman/get_maintainer.py | |
parent | 12e5476df33a24ff781e6f78404792e4b8596c28 (diff) |
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>
Diffstat (limited to 'tools/patman/get_maintainer.py')
-rw-r--r-- | tools/patman/get_maintainer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/get_maintainer.py b/tools/patman/get_maintainer.py index 00b49394bc..2deb5db6ec 100644 --- a/tools/patman/get_maintainer.py +++ b/tools/patman/get_maintainer.py @@ -40,7 +40,7 @@ def GetMaintainer(fname, verbose=False): get_maintainer = FindGetMaintainer() if not get_maintainer: if verbose: - print "WARNING: Couldn't find get_maintainer.pl" + print("WARNING: Couldn't find get_maintainer.pl") return [] stdout = command.Output(get_maintainer, '--norolestats', fname) |