From 6b3d4feab88c29c97e31b6894063acee92bd7dc1 Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 11 Oct 2022 23:28:11 +0800 Subject: [PATCH] Replace deprecated distro.linux_distribution() call --- gns3server/crash_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/crash_report.py b/gns3server/crash_report.py index 31d4b37e..459d2e5d 100644 --- a/gns3server/crash_report.py +++ b/gns3server/crash_report.py @@ -93,7 +93,7 @@ class CrashReport: "os:release": platform.release(), "os:win_32": " ".join(platform.win32_ver()), "os:mac": "{} {}".format(platform.mac_ver()[0], platform.mac_ver()[2]), - "os:linux": " ".join(distro.linux_distribution()), + "os:linux": distro.name(pretty=True), }