Hi Mark,
On Thu, May 05, 2022 at 09:10:23PM +0100, Mark Hindley wrote:
>Just a small update. I think the following is better.
>
>Mark
>
>diff --git a/lsb_release.py b/lsb_release.py
>index 3e19519..472d96b 100644
>--- a/lsb_release.py
>+++ b/lsb_release.py
>@@ -45,7 +45,7 @@ def get_distro_info(or
Just a small update. I think the following is better.
Mark
diff --git a/lsb_release.py b/lsb_release.py
index 3e19519..472d96b 100644
--- a/lsb_release.py
+++ b/lsb_release.py
@@ -45,7 +45,7 @@ def get_distro_info(origin='Debian'):
global RELEASE_CODENAME_LOOKUP, RELEASES_ORDER, TESTING_CODE
Steve,
Thanks for this.
I am just looking at some lsb updates and have picked your report up.
My proposed fix is attached.
Does it look sane to you? Are you able to verify?
Thanks
Mark
>From 77c66f523138fddd433096d0c411aebd75de29a5 Mon Sep 17 00:00:00 2001
From: Mark Hindley
Date: Thu, 5 May
Package: lsb-release
Version: 10.2019051400
Severity: normal
Hi!
lsb_release has two ways to work out distribution information, It
first reads the data in /usr/lib/os-release to see if all the info it
needs is there. If not, it falls back to working out the distribution
from the contents of /etc/
4 matches
Mail list logo