Bug#691744: Little coding issues in lsb_release.py script
Package: lsb-release
Version: 3.2-23.2squeeze1
Dears maintainers,
I've reinplemented the lsb_release.py script in perl and I've found a little issue in it.
At line 200, you are testing for an alpha string and use the result to match over the 'testing' string
###
if release.rstrip('/sid').lower().isalpha() != 'testing':
###
The result of this test will always be false since you are testing a boolean value against the 'testing' string.
Note: I'm using both Ubuntu and Debian and
Laurent Declercq
Reply to: