From: Didier Raboud Date: Wed, 12 Aug 2015 12:20:15 +0000 (+0200) Subject: Fix comparison of testing codename X-Git-Tag: archive/raspbian/10.2018112800+rpi1^2~46 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0f68d9794181b5597960e2976d8ac02d6297e2a2;p=lsb.git Fix comparison of testing codename Closes: #691744 --- diff --git a/lsb_release.py b/lsb_release.py index 7b768ea..85d374f 100644 --- a/lsb_release.py +++ b/lsb_release.py @@ -306,7 +306,7 @@ def guess_debian_release(): codename = lookup_codename(release, 'n/a') distinfo.update({ 'RELEASE' : release, 'CODENAME' : codename }) elif release.endswith('/sid'): - if release.rstrip('/sid').lower().isalpha() != 'testing': + if release.rstrip('/sid').lower() != 'testing': global TESTING_CODENAME TESTING_CODENAME = release.rstrip('/sid') distinfo['RELEASE'] = 'testing/unstable'