]> git.dujemihanovic.xyz Git - u-boot.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)
commit3bc14098d8fb05b98e01c4abd901f77b55d19331
treeb31c02d9b177fd56ff20e3fab243738f701ae031
parent61ba1244b548463dbfb3c5285b6b22e7c772c5bd
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