-
Bug
-
Resolution: Unresolved
-
Low
-
London Release
-
None
CIMAN-433 will capture a bunch of bugs/tasks related to the migration from Python2 to Python3. All the ONAP repositories were cloned (4GB data) and scanned using the command below:
find . -name '*.py' -exec python3 -m py_compile {} \;
This returned 53 issues across 22 repositories/sub-projects. A Jira bug will be raised for each sub-project.
Bugs found affecting this sub-project:
File "./testsuite_cds/cba/resource-resolution/Scripts/python/ResolvProperties.py", line 29 except JavaException, err: # Ignore PyLintBear (E0001) ^^^^^^^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized
File "./testsuite_cds/cba/netconf/Scripts/python/NetconfTest.py", line 47 except JavaException, err: # Ignore PyLintBear (E0001) ^^^^^^^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized
- blocks
-
CIMAN-433 Python2 -> Python3 (Bugs and Updates)
- Done