[gitdm][PATCH 1/1] Convert to Python 3

Tom Rini trini at konsulko.com
Wed Jun 7 19:18:32 CEST 2023


On Wed, Jun 07, 2023 at 07:57:54AM +0200, Heinrich Schuchardt wrote:

> This is the result of running 2to3 and manually converting the comparison
> functions to lambda expressions.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  ConfigFile.py |   4 +-
>  csvdump.py    |   4 +-
>  database.py   |  22 +++++------
>  gitdm         |  27 ++++++-------
>  gitlog.py     |   8 ++--
>  logparser.py  |   6 +--
>  reports.py    | 106 +++++++++++++++-----------------------------------
>  utils.py      |   4 +-
>  8 files changed, 70 insertions(+), 111 deletions(-)
> 

Is this really versus our current tree? It's already running in python3.
If there's specific "this is better python" changes, we should send them
to Jon first and sync back.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230607/1f1b64bf/attachment.sig>


More information about the U-Boot mailing list