Learn more about these different git repos.
Other Git URLs
The keywork 'cmp' was used for list.sort()/sorted() in Python2, however it has been removed in Python3. In order to support both Python2/Python3, we need to rewrite compare functions.
cmp appears in these places: ./hub/kojihub.py:2425: artifacts = sorted(artifacts, cmp=lambda a, b: rpm.labelCompare(a, b))
./www/kojiweb/index.py:686: values['output'] = sorted(paths, cmp = _sortByExtAndName)
./cli/koji_cli/commands.py:4520: children.sort(cmp=lambda a, b: cmp(a['id'], b['id']))
[PR#714 for fixing ./cli/koji_cli/commands.py
Commit f79cab8 relates to this ticket
Commit 8da5f2b relates to this ticket
Metadata Update from @tkopecek: - Issue set to the milestone: 1.16
Metadata Update from @tkopecek: - Issue close_status updated to: Fixed
@tkopecek There are still some files need to be patched: ./hub/kojihub.py:2425: artifacts = sorted(artifacts, cmp=lambda a, b: rpm.labelCompare(a, b))
I think this issue should keep open.
Metadata Update from @tkopecek: - Issue status updated to: Open (was: Closed)
[PR#714 add new patches to fix all issues
PR #744
Metadata Update from @tkopecek: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Commit 45a5d3f fixes this issue
Commit be6dab4 fixes this issue
Commit 2c04c4f relates to this ticket
Login to comment on this ticket.