Fix logic error in ansible-galaxy (#85258)

Co-authored-by: OpenRefactory, Inc <56681071+openrefactory@users.noreply.github.com>
Co-authored-by: Munawar <munawar.hafiz@gmail.com>
(cherry picked from commit 7da24ca7b0)
pull/85305/head
Matt Clay 8 months ago committed by Matt Davis
parent d5e6d31d50
commit 2eb107fe1f

@ -337,10 +337,7 @@ class GalaxyAPI:
if not isinstance(other_galaxy_api, self.__class__):
return NotImplemented
return (
self._priority > other_galaxy_api._priority or
self.name < self.name
)
return self._priority > other_galaxy_api._priority
@property # type: ignore[misc] # https://github.com/python/mypy/issues/1362
@g_connect(['v1', 'v2', 'v3'])

Loading…
Cancel
Save