summaryrefslogtreecommitdiff
path: root/tools/patman/test.py
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-09-27 16:03:50 +0100
committersjg <sjg@chromium.org>2016-10-09 09:30:32 -0600
commita920a17b2f418535870788ae81234dc6b8aa6661 (patch)
tree2986de030de65467a4830c6fafb79d5e142b7729 /tools/patman/test.py
parent12e5476df33a24ff781e6f78404792e4b8596c28 (diff)
downloadu-boot-imx-a920a17b2f418535870788ae81234dc6b8aa6661.zip
u-boot-imx-a920a17b2f418535870788ae81234dc6b8aa6661.tar.gz
u-boot-imx-a920a17b2f418535870788ae81234dc6b8aa6661.tar.bz2
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/test.py')
-rw-r--r--tools/patman/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/test.py b/tools/patman/test.py
index e8f7472..8c39f66 100644
--- a/tools/patman/test.py
+++ b/tools/patman/test.py
@@ -181,7 +181,7 @@ index 0000000..2234c87
elif data_type == 'indent':
indent = tab
else:
- print 'not implemented'
+ print('not implemented')
return data % (signoff, tab, indent, tab)
def SetupData(self, data_type):