From: Matthias Klose Date: Sat, 21 May 2022 17:28:31 +0000 (+0100) Subject: Fix test for python 3.8 X-Git-Tag: archive/raspbian/8.1.1+ds-1.1+rpi1+deb11u1^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b5835237d5463f665e145555a2c6abaaf8d3aaf1;p=trafficserver.git Fix test for python 3.8 Reviewed-by: Jean Baptiste Favre Last-Update: 2020-02-03 Last-Update: 2020-02-03 Gbp-Pq: Name 0016-fix_python_3.8.patch --- diff --git a/tests/bootstrap.py b/tests/bootstrap.py index 190cd238..34df2e50 100755 --- a/tests/bootstrap.py +++ b/tests/bootstrap.py @@ -85,7 +85,8 @@ def command_output(cmd_str): def get_distro(): - return platform.linux_distribution() + import distro + return distro.linux_distribution() def distro_version():