Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
user:kluong:improvement_-_upgrade_gateway_code_from_python2_to_python3 [2022/02/17 14:50] kluong |
user:kluong:improvement_-_upgrade_gateway_code_from_python2_to_python3 [2022/02/17 14:58] (current) kluong |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Improvement - Update gateway code from python 2 to python 3 ====== | ====== Improvement - Update gateway code from python 2 to python 3 ====== | ||
+ | |||
+ | ===== Background ===== | ||
Python 2 is no longer supported, we should migrate to python 3. | Python 2 is no longer supported, we should migrate to python 3. | ||
Line 32: | Line 34: | ||
You can see the print function was modified to convert it to something that's acceptable in python3. | You can see the print function was modified to convert it to something that's acceptable in python3. | ||
- | **Tasks** | + | ===== Tasks ===== |
- Cleanup some of the indentation in the code - there mixed tabs and spaces all over the place, this should be converted to use spaces. This is used by the official python style guide. | - Cleanup some of the indentation in the code - there mixed tabs and spaces all over the place, this should be converted to use spaces. This is used by the official python style guide. | ||
+ | - Submit a PR for the above changes, get review/approval | ||
- Cleanup the python3 files | - Cleanup the python3 files | ||
- Make sure that the integration test runs properly | - Make sure that the integration test runs properly | ||
+ | - Submit a PR for the above changes, get review/approval | ||