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 sapetnioc
Recipients christian.heimes, draghuram, sapetnioc
Date 2007-10-30.10:49:32
SpamBayes Score 0.0551283
Marked as misclassified No
Message-id <>
I joined a modified version of Here is a summary of the
- replaced '/etc' by global variable _etc_dir
- removed supported_dists parameter of dist()
- each element of dist() result is searched in the following places
  (the first value found is kept):
  1) First line of /etc/<distribname>-release
  2) Contents of /etc/lsb-release
  3) Extract <distribname> from /etc/<distribname>-release

I tested it on Mandriva 2007.1, Fedora 4 and on a faked /etc directory
containing the Ubuntu files send by tiran. Results are:
  Mandriva 2007.1: ('MandrivaLinux', '2007.1', 'Official')
  Fedora 4: ('FedoraCore', '4', 'Stentz')
  Faked Ubuntu: ('Ubuntu', '7.10', 'gutsy')
File name Uploaded sapetnioc, 2007-10-30.10:49:33
Date User Action Args
2007-10-30 10:49:34sapetniocsetspambayes_score: 0.0551283 -> 0.0551283
recipients: + sapetnioc, draghuram, christian.heimes
2007-10-30 10:49:34sapetniocsetspambayes_score: 0.0551283 -> 0.0551283
messageid: <>
2007-10-30 10:49:34sapetnioclinkissue1322 messages
2007-10-30 10:49:33sapetnioccreate