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:
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 "./oom/kubernetes/contrib/components/awx/resources/config/credentials.py", line 1
{{/*
^
SyntaxError: invalid syntax
File "./oom_registrator/src/kube2msb/vendor/github.com/ugorji/go/codec/test.py", line 101
print client.call("Echo123", "A1", "B2", "C3")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
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 "./oom/kubernetes/contrib/components/awx/resources/config/credentials.py", line 1
{{/*
^
SyntaxError: invalid syntax
File "./oom_registrator/src/kube2msb/vendor/github.com/ugorji/go/codec/test.py", line 101
print client.call("Echo123", "A1", "B2", "C3")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?