This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doko
Recipients doko
Date 2013-04-16.15:01:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366124468.64.0.40642643299.issue17762@psf.upfronthosting.co.za>
In-reply-to
Content
http://www.freedesktop.org/software/systemd/man/os-release.html
is a recent standard describing release information for an operating system. platform.linux_distribution() should know about it.

 - should that be the first file to be parsed?

 - names returned for the ID are different than the ones
   returned from /etc/lsb-release. The os-release thing
   only allows lower case letters for the ID (e.g. Ubuntu
   vs. ubuntu).  The list of _supported_distros may
   need to list both.

 - take the version from VERSION_ID

 - there is no real attribute for the code name. The closest
   maybe is VERSION.
History
Date User Action Args
2013-04-16 15:01:08dokosetrecipients: + doko
2013-04-16 15:01:08dokosetmessageid: <1366124468.64.0.40642643299.issue17762@psf.upfronthosting.co.za>
2013-04-16 15:01:08dokolinkissue17762 messages
2013-04-16 15:01:08dokocreate