Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25854 Ambari With Python3 Support
  3. AMBARI-25902

modify Function Cmp from python2 to python3

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.5, 2.7.6
    • None
    • ambari-agent, ambari-server
    • None
    • Ambari:Ambari-2.7.5

      OS:        OpenEuler-22.03

      Python: Python 3.9.9

    Description

      Since cmp() function is deleted in python3, so to implement same function, I would like to use module "opreator" to do this:

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Charming603473 Charming Wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: