CI: Replace deprecated distro.linux_distribution

Change-Id: If0f3ab6f26aa774cf6176d992ec1180f2c0d7838
This commit is contained in:
Pierre Riteau 2024-10-31 14:30:08 +01:00
parent 2fb57a72a7
commit 70742ebc27

View File

@ -11,8 +11,8 @@ import pytest
def _is_apt():
info = distro.linux_distribution()
return info[0].startswith('Ubuntu')
info = distro.id()
return info == 'ubuntu'
def _is_dnf():