[U-Boot] [PATCH 2/9] patman: Make print statements python 3.x safe

Simon Glass sjg at chromium.org
Tue Sep 27 02:32:42 CEST 2016


On 26 September 2016 at 08:30, Paul Burton <paul.burton at imgtec.com> wrote:
> 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 at imgtec.com>
> ---
>
>  tools/patman/checkpatch.py     | 16 ++++++++--------
>  tools/patman/get_maintainer.py |  2 +-
>  tools/patman/gitutil.py        |  6 +++---
>  tools/patman/patchstream.py    |  6 +++---
>  tools/patman/patman.py         | 12 ++++++------
>  tools/patman/series.py         | 38 ++++++++++++++++++++------------------
>  tools/patman/settings.py       | 16 +++++++++-------
>  tools/patman/terminal.py       | 12 +++++++-----
>  tools/patman/test.py           |  2 +-
>  9 files changed, 58 insertions(+), 52 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list