From 59fb4f343e8ade8b280d0450cf5940423e564d19 Mon Sep 17 00:00:00 2001 From: Marcel Partap Date: Wed, 28 May 2014 18:36:04 +0200 Subject: [PATCH] In lsb_release, don't forget CODENAME when it's testing; therefore stop calling apt-cache policy again Closes: #747413 --- lsb_release.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2