Charming Wu created AMBARI-25902:
------------------------------------
Summary: modify cmp function from python2 to python3
Key: AMBARI-25902
URL: https://issues.apache.org/jira/browse/AMBARI-25902
Project: Ambari
Issue Type: Sub-task
Components: ambari-agent, ambari-server
Affects Versions: 2.7.6, 2.7.5
Environment: {*}Ambari:{*}Ambari-2.7.5
*OS:* OpenEuler-22.03
*Python:* Python 3.9.9
Reporter: Charming Wu
Attachments: image-2023-03-21-17-46-50-821.png
Since cmp() function is deleted in python3, so to implement same function, I
would like to use module "opreator" to do this:
!image-2023-03-21-17-46-50-821.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]