From: Marcel Partap Date: Wed, 28 May 2014 16:36:04 +0000 (+0200) Subject: In lsb_release, don't forget CODENAME when it's testing; therefore stop calling apt... X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~59 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=59fb4f343e8ade8b280d0450cf5940423e564d19;p=lsb.git In lsb_release, don't forget CODENAME when it's testing; therefore stop calling apt-cache policy again Closes: #747413 --- diff --git a/lsb_release.py b/lsb_release.py index ecf46e3..6b9e226 100644 --- a/lsb_release.py +++ b/lsb_release.py @@ -304,6 +304,7 @@ def guess_debian_release(): if release.rstrip('/sid').lower().isalpha() != 'testing': global TESTING_CODENAME TESTING_CODENAME = release.rstrip('/sid') + distinfo['CODENAME'] = TESTING_CODENAME distinfo['RELEASE'] = 'testing/unstable' else: distinfo['RELEASE'] = release