Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-3181

Python Code Updates: ONAP Operations Manager(OOM)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Low Low
    • London Release
    • London Release
    • None
    • None
    • Hide

      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(...)?
      Show
      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(...)?

          andreasgeissler Andreas Geissler
          modesevenindustrialsolutions Matthew Watkins
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Created:
            Updated:
            Resolved: