[Fuego] [PATCH 0/2] Migrate code to python2 and 3 compatible
[email protected] Wed, 15 Dec 2021 20:48:02 +0530
| Newsgroups | dev.linux.lists.fuego |
|---|---|
| Message-ID | <[email protected]> |
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