mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 06:30:19 -07:00
The distro version is a string ('jessie/sid') on Debian unstable and testing. Because load_platform_subclass() evaluations every subclass as it loops, comparing numbers when get_distribution_version() does not return a number will break. This patch fixes that by returning a number (`0`) when we have an invalid version, instead of returning `None` or a string. |
||
---|---|---|
.. | ||
__init__.py | ||
basic.py | ||
ec2.py | ||
facts.py | ||
gce.py | ||
known_hosts.py | ||
powershell.ps1 | ||
rax.py | ||
redhat.py | ||
urls.py |