We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distro.version() is supposed to eliminate n/a and empty values when other sources contain valid values.
n/a
>>> import distro >>> distro.version() 'n/a'
It returns n/a because lsb_release -a has that value, even though /etc/debian_version contains a valid value
lsb_release -a
/etc/debian_version
$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux trixie/sid Release: n/a Codename: trixie
$ cat /etc/debian_version trixie/sid
The text was updated successfully, but these errors were encountered:
Ignore "n/a" from lsb_release output allowing other sources to be hon…
2556eca
…ored > closes #373
lsb_release
Thanks for your report @nagworld9 ! Please see #374. Bye 👋
Sorry, something went wrong.
HorlogeSkynet
Successfully merging a pull request may close this issue.
distro.version() is supposed to eliminate
n/a
and empty values when other sources contain valid values.It returns
n/a
becauselsb_release -a
has that value, even though/etc/debian_version
contains a valid valueThe text was updated successfully, but these errors were encountered: