Uploaded image for project: 'Music'
  1. Music
  2. MUSIC-615

Python Code Updates: Music(MUSIC)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Low Low
    • London Release
    • London Release
    • None
    • 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 "./music_prom/sampleApp/promoverride.py", line 57
          print json.dumps(response.json()["result"], indent=2, sort_keys=True)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

            bharathb bharathb
            modesevenindustrialsolutions Matthew Watkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: