Re: [U-Boot] [PATCHv2 1/3] genboardscfg.py: Convert to Python 3

2019-10-08 Thread Tom Rini
On Fri, Sep 20, 2019 at 05:42:07PM -0400, Tom Rini wrote: > 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

[U-Boot] [PATCHv2 1/3] genboardscfg.py: Convert to Python 3

2019-09-20 Thread Tom Rini
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 Signed-off-by: Tom Rini