Re: [Fuego] [PATCH 0/2] Migrate code to python2 and 3 compatible

<[email protected]> Tue, 1 Feb 2022 16:07:08 +0000
Newsgroups dev.linux.lists.fuego
Message-ID <OS0PR01MB614787FD656F70B15FFC037EC7269@OS0PR01MB6147.jpnprd01.prod.outlook.com>
Hi Tim, 

Did you get time to check my patches related to python2 and 3 compatible changes ? 
Let me know if there are any feedback, I have few other patches in my local branch and I would like to send those patches as well. 

Thanks & Regards
Shivanand K

> -----Original Message-----
> From: [email protected]
> <[email protected]>
> Sent: Wednesday, December 15, 2021 8:48 PM
> To: [email protected]
> Cc: kunijadar shivanand(TSIP) <Shivanand.Kunijadar@toshiba-
> tsip.com>; [email protected]; dinesh kumar(TSIP)
> <[email protected]>; hayashi kazuhiro(林 和宏 □SWC◯AC
> T) <[email protected]>; pyla venkata(TSIP)
> <[email protected]>
> Subject: [PATCH 0/2] Migrate code to python2 and 3 compatible
> 
> From: Shivanand Kunijadar <[email protected]>
> 
> Hi Tim,
> 
> I modified the code to make it compatible on both python2 and 3 versions
> Kindly review and provide your feedback
> 
> Shivanand Kunijadar (2):
>   python2to3: Convert the print statement to the print() function
>   python2to3: change dict.has_key(key) to key in dict
> 
>  scripts/deorphan-runs.py               | 12 ++++++------
>  scripts/functions.sh                   |  2 +-
>  scripts/gen-page.py                    |  2 +-
>  scripts/loggen/gentexml.py             |  2 +-
>  scripts/loggen/loggen.py               | 12 ++++++------
>  scripts/ovgen.py                       |  8 ++++----
>  scripts/parser/common.py               | 20 ++++++++++----------
>  scripts/parser/fuego_parser_results.py |  2 +-
>  scripts/parser/fuego_parser_utils.py   |  6 +++---
>  scripts/parser/prepare_chart_data.py   |  4 ++--
>  tests/Functional.LTP/ltp_process.py    | 10 +++++-----
>  tests/Functional.LTP/parser.py         | 18 +++++++++---------
>  tests/Functional.autopkgtest/parser.py |  6 +++---
>  13 files changed, 52 insertions(+), 52 deletions(-)
> 
> --
> 2.20.1