]> git.baikalelectronics.ru Git - uboot.git/commit
genboardscfg.py: Convert to Python 3
authorTom Rini <trini@konsulko.com>
Fri, 20 Sep 2019 21:42:07 +0000 (17:42 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 8 Oct 2019 12:37:28 +0000 (08:37 -0400)
commitcaec0e265ca83f19750090383cf4f4f23314a9f7
treeb31c02d9b177fd56ff20e3fab243738f701ae031
parent8f84caf135789f856ffd1f0c14d9e53ba4d04678
genboardscfg.py: Convert to Python 3

Convert this tool to requiring Python 3.  The bulk of this is done with
the 2to3 tool In addition, we need to use the '//' operator to have our
division result return an int rather than a float and ensure that we use
UTF-8 when reading/writing files.

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
tools/genboardscfg.py