mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
08f97c0b9d
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. |
||
---|---|---|
.. | ||
ansible |