From 6f3b7612ee08d9f8de87be7ae5d5057a9d5d2f73 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Mon, 3 Feb 2020 10:45:17 +0000 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 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(): -- 2.30.2