diff options
author | Marc-André Lemburg <mal@egenix.com> | 2008-03-08 10:01:43 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2008-03-08 10:01:43 (GMT) |
commit | 50967bdec2d0f1511c5ce9590f121ec6d6dde080 (patch) | |
tree | 4ea6ad8349ea93e193f41df7b375ccb69a8db071 | |
parent | 47a5aec8362e7a78c10528ef565dc0e6fad1c489 (diff) | |
download | cpython-50967bdec2d0f1511c5ce9590f121ec6d6dde080.zip cpython-50967bdec2d0f1511c5ce9590f121ec6d6dde080.tar.gz cpython-50967bdec2d0f1511c5ce9590f121ec6d6dde080.tar.bz2 |
Add new name for Mandrake: Mandriva.
-rwxr-xr-x | Lib/platform.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/platform.py b/Lib/platform.py index a860bf8..35a87a8 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -240,9 +240,10 @@ _release_version = re.compile(r'([^0-9]+)' # and http://data.linux-ntfs.org/rpm/whichrpm # and http://www.die.net/doc/linux/man/man1/lsb_release.1.html -_supported_dists = ('SuSE', 'debian', 'fedora', 'redhat', 'centos', - 'mandrake', 'rocks', 'slackware', 'yellowdog', - 'gentoo', 'UnitedLinux', 'turbolinux') +_supported_dists = ( + 'SuSE', 'debian', 'fedora', 'redhat', 'centos', + 'mandrake', 'mandriva', 'rocks', 'slackware', 'yellowdog', 'gentoo', + 'UnitedLinux', 'turbolinux') def _parse_release_file(firstline): |