Uploaded image for project: 'Test'
  1. Test
  2. TEST-396

Python Code Updates: Test (TEST)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • London Release
    • 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

            mszwalkiewicz mszwalkiewicz
            modesevenindustrialsolutions Matthew Watkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: