From 245af601560bbc7e69465adf667a0d1357fc6feb Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Fri, 12 Aug 2022 08:16:08 +0100 Subject: [PATCH] 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 --- tests/bootstrap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/bootstrap.py b/tests/bootstrap.py index 3d9e4376..7b141dda 100755 --- a/tests/bootstrap.py +++ b/tests/bootstrap.py @@ -94,7 +94,8 @@ def command_output(cmd_str): def get_distro(): - return linux_distribution() + import distro + return distro.linux_distribution() def distro_version(): -- 2.30.2