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>
pull/85264/head
Matt Clay 6 months ago committed by GitHub
parent 0bbd8847c4
commit 7da24ca7b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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