CI: Replace deprecated distro.linux_distribution
Change-Id: If0f3ab6f26aa774cf6176d992ec1180f2c0d7838
This commit is contained in:
parent
2fb57a72a7
commit
70742ebc27
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user