Bug#637039: Re: lsb-release: parse_apt_policy in lsb_release.py fails

"Didier 'OdyX' Raboud" <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Organization Debian, the Universal OS
Message-ID <4F5089C7.2070107__37247.1797782511$1330678471$gmane$org@debian.org>
tags 637039 +unreproducible +moreinfo
thanks

Hi Luke, and thanks for your bugreport,

Le 08.08.2011 04:45, Luke Kenneth Casson Leighton a écrit :
> On Mon, Aug 8, 2011 at 1:33 AM, lkcl <[email protected]> wrote:
>> Package: lsb-release
>> Version: 3.2-27
>> Severity: normal
>> Tags: patch
>>
>> ok it's not exactly a patch but close:
>> policy = commands.getoutput('LANG=C apt-cache policy 2>/dev/null')
>>
>> should be:
>> policy = commands.getoutput('LANG=C apt-cache policy 2&>/dev/null')
>>
>> in lsb_release.py parse_apt_policy function
> 
>  ok, yep, right, i know i know - this is completely wrong :)  there's
> something else going belly-up - shown here:

lsb_release.py has seen various improvements before the upload of lsb
3.2+Debian29; could you please try to reproduce your bug with
lsb-release=3.2+Debian29 currently available in unstable ?

Cheers,

OdyX
signature.asc (application/pgp-signature, 663 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQGcBAEBAgAGBQJPUInOAAoJEIvPpx7KFjRVg5QL/ROagBxWJalj2Cjj/JbAjjIt
ARM+6AHbYb4313Q7h5BlKdUZdeeSBXVI1+AZYfxY8MAXDQ5vApc7S+Hlu7kM9EFe
m1opUnGJyUt91HDzNg5PMsEUEoUpx4z95MUnOExLd4BKQamkl4rJDVwuZwfZNs0y
YBO6XbgI7t+/fKiGCS+lMe0Tlr1hkXz0+jPTjXhHne1M/oj38K41jx41axBya42f
TvRxAD7121GXFHsJx4SgIWXfGpl1INa0/jKyV4FpXI0OQ2/flljPtQ4ccH5RVfql
mqg0dTFqwMVFX3DlGF7WxjcJ7lE1gpJeAxMbvU7ztAak5LLlmJTiRNGk73XKIPSN
631f3BzjHLF8C+VtyQ7wVcM25Uo82xfjtqc/9dM+wzRBy6UYS2g6RZzmcrBCTjJd
EDvahZcxCB94SFZ5EAypXB58nVk/oLdYCAv1KaBS1mEL7kfX17C6QKtG7pVo90NM
9XgYejRUPnAr8QF6PI2QLszQBdB2ceciFsQImnpYLQ==
=DB7y
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.