Use distro.linux_distribution instead

platform.linux_distribution is removed since Python 3.8.

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
Chenxiong Qi
2019-11-14 09:54:18 +08:00
parent 2101f38e63
commit 87f4f3e546
5 changed files with 12 additions and 8 deletions

View File

@@ -42,6 +42,7 @@ RUN yum -y install \
python-solv \
python-sqlalchemy \
python-tox \
python2-distro \
python2-libmodulemd2 \
python2-pyyaml \
python2-pungi \