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.

classification
Title: Change Mandrake by Mandriva for platform.dist()
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: lemburg Nosy List: facundobatista, lemburg, neoclust
Priority: normal Keywords: patch

Created on 2008-03-07 22:14 by neoclust, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-2.5-change-mandrake.patch neoclust, 2008-03-07 22:14
Messages (5)
msg63370 - (view) Author: Nicolas Lécureuil (neoclust) Date: 2008-03-07 22:14
here is a patch fixing the issue by changing mandrake to mandriva
msg63372 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2008-03-07 23:40
Assigning as the platform.py file says.

The patch is straightforward, I'm only concerned with backward
compatibility...
msg63387 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2008-03-08 09:54
I think it's better to add the new name rather than replace the existing
one.
msg63392 - (view) Author: Nicolas Lécureuil (neoclust) Date: 2008-03-08 09:59
is there a fix applied on mandriva python :

--- (empty file)
+++ cooker/python/current/SOURCES/python-2.5.1-detect-mandriva.patch   
Sat Mar  8 03:22:50 2008
@@ -0,0 +1,10 @@
+--- Lib/platform.py.old        2007-10-05 20:17:15.000000000 +0800
++++ Lib/platform.py    2007-10-05 20:18:00.000000000 +0800
+@@ -225,7 +225,7 @@
+ 
+ def dist(distname='',version='',id='',
+ 
+-         supported_dists=('SuSE', 'debian', 'fedora', 'redhat',
'mandrake')):
++         supported_dists=('SuSE', 'debian', 'fedora', 'mandriva',
'redhat', 'mandrake')):
+ 
+     """ Tries to determine the name of the Linux OS distribution name.
msg63393 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2008-03-08 10:03
Fixed in r61304.

Backport candidate.
History
Date User Action Args
2022-04-11 14:56:31adminsetgithub: 46508
2008-03-08 10:03:21lemburgsetstatus: open -> closed
2008-03-08 10:03:14lemburgsetmessages: + msg63393
2008-03-08 09:59:57neoclustsetmessages: + msg63392
2008-03-08 09:54:17lemburgsetmessages: + msg63387
2008-03-07 23:40:47facundobatistasetassignee: lemburg
messages: + msg63372
nosy: + facundobatista
2008-03-07 22:36:31benjamin.petersonsetnosy: + lemburg
2008-03-07 22:14:22neoclustcreate