Re: Bug#624769: lsb-release: wrong output on debian-ports architectures breaks other packages
Didier 'OdyX' Raboud dixit:
>And the attached "full" lsb_release.py ?
Looking better:
ara2:/usr/share/pyshared# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux unstable (sid)
Release: unstable
Codename: sid
ara2:/usr/share/pyshared# python -c "from lsb_release import *; print guess_debian_release();"
{'DESCRIPTION': 'Debian GNU/Linux unstable (sid)', 'RELEASE': 'unstable', 'CODENAME': 'sid', 'OS': 'GNU/Linux', 'ID': 'Debian'}
ara2:/usr/share/pyshared# python -c "from lsb_release import *; print guess_release_from_apt()"
{'origin': 'Debian Ports', 'suite': 'unreleased', 'version': '1.0', 'component': 'main', 'label': 'ftp.debian-ports.org'}
Thanks,
//mirabilos
--
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
Reply to: