Uploaded image for project: 'Clamp'
  1. Clamp
  2. CLAMP-1030

Python Code Updates: Clamp (CLAMP)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • 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 "./clamp/src/test/resources/http-cache/third_party_proxy.py", line 88
          os.makedirs(cached_file_folder, 0777)
                                          ^
      SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers

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

              Created:
              Updated:
              Resolved: