CI: Fix Ubuntu 24.04 version check

Change-Id: I5165ab758d2a7040d22b139813f0dce45fa0d59e
This commit is contained in:
Pierre Riteau 2024-10-31 14:13:36 +01:00
parent 186137e82d
commit 2fb57a72a7

View File

@ -28,7 +28,7 @@ def _is_dnf_mirror():
def _is_ubuntu_noble():
name = distro.name()
version = distro.version()
return name == 'Ubuntu' and version == 24.04
return name == 'Ubuntu' and version == '24.04'
def test_network_ethernet(host):