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

Luke Kenneth Casson Leighton <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <CAPweEDy6z2nzo0Ea=Rmpcczpp=4L1DR3BrdSf6SqS84B=QW9cg__25937.3370478444$1330724006$gmane$org@mail.gmail.com>
On Fri, Mar 2, 2012 at 8:50 AM, Didier 'OdyX' Raboud <[email protected]> wrote:
> tags 637039 +unreproducible +moreinfo
> thanks

>>> 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 ?

 ahh, didier, many apologies, this was such a long time ago, i can't
remember what i was doing which triggered the bug! :)

l.
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.