From: Matthias Klose Date: Thu, 25 Jun 2020 08:01:51 +0000 (+0100) Subject: Fix test for python 3.8 X-Git-Tag: archive/raspbian/8.0.8+ds-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1a4c82cd827f8f610308cca45e98c44b2e874cbd;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 892345e7..fffbb6e5 100755 --- a/tests/bootstrap.py +++ b/tests/bootstrap.py @@ -81,7 +81,8 @@ def command_output(cmd_str): def get_distro(): - return platform.linux_distribution() + import distro + return distro.linux_distribution() def distro_version():