mirror of
https://git.launchpad.net/~ubuntu-qt-code/+git/calamares-settings-ubuntu
synced 2025-06-07 15:51:28 +00:00
Swapped in python3-distro in place of lsb_release.
This commit is contained in:
parent
7d65c43dc8
commit
fbc09d2b52
@ -23,7 +23,7 @@ from urllib.error import HTTPError
|
|||||||
from urllib.error import URLError
|
from urllib.error import URLError
|
||||||
import socket
|
import socket
|
||||||
import logging
|
import logging
|
||||||
from lsb_release import get_distro_information
|
import distro
|
||||||
|
|
||||||
global sources
|
global sources
|
||||||
sources = """# Automatically generated by Calamares on DATE.
|
sources = """# Automatically generated by Calamares on DATE.
|
||||||
@ -137,7 +137,7 @@ def get_subdomain_by_country(countrycode):
|
|||||||
|
|
||||||
def getcodename():
|
def getcodename():
|
||||||
"""Return the codename of the distribution, similar to lsb_release -cs"""
|
"""Return the codename of the distribution, similar to lsb_release -cs"""
|
||||||
return get_distro_information()["CODENAME"]
|
return distro.codename()
|
||||||
|
|
||||||
|
|
||||||
def changesources(subdomain):
|
def changesources(subdomain):
|
||||||
|
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
|||||||
|
calamares-settings-ubuntu (1:23.04.4) lunar; urgency=medium
|
||||||
|
|
||||||
|
* Switch from using the lsb_release python module to the distro module, as
|
||||||
|
the python module for lsb_release no longer exists in Lunar.
|
||||||
|
(LP: #2008685)
|
||||||
|
|
||||||
|
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Tue, 28 Feb 2023 19:27:13 -0600
|
||||||
|
|
||||||
calamares-settings-ubuntu (1:23.04.3) lunar; urgency=medium
|
calamares-settings-ubuntu (1:23.04.3) lunar; urgency=medium
|
||||||
|
|
||||||
* Fixed a syntax error that led to incorrect sidebar coloring (LP: #1991251).
|
* Fixed a syntax error that led to incorrect sidebar coloring (LP: #1991251).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user