[U-Boot] [PATCH v2 02/10] patman: Make print statements python 3.x safe

Simon Glass sjg at chromium.org
Thu Oct 6 04:02:53 CEST 2016


On 27 September 2016 at 09:03, 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>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  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(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list