Skip to content
New issue

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

Change Mandrake by Mandriva for platform.dist() #46508

Closed
neoclust mannequin opened this issue Mar 7, 2008 · 5 comments
Closed

Change Mandrake by Mandriva for platform.dist() #46508

neoclust mannequin opened this issue Mar 7, 2008 · 5 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@neoclust
Copy link
Mannequin

neoclust mannequin commented Mar 7, 2008

BPO 2255
Nosy @malemburg, @facundobatista
Files
  • python-2.5-change-mandrake.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/malemburg'
    closed_at = <Date 2008-03-08.10:03:21.274>
    created_at = <Date 2008-03-07.22:14:22.941>
    labels = ['type-bug', 'library']
    title = 'Change Mandrake by Mandriva for platform.dist()'
    updated_at = <Date 2008-03-08.10:03:21.273>
    user = 'https://bugs.python.org/neoclust'

    bugs.python.org fields:

    activity = <Date 2008-03-08.10:03:21.273>
    actor = 'lemburg'
    assignee = 'lemburg'
    closed = True
    closed_date = <Date 2008-03-08.10:03:21.274>
    closer = 'lemburg'
    components = ['Library (Lib)']
    creation = <Date 2008-03-07.22:14:22.941>
    creator = 'neoclust'
    dependencies = []
    files = ['9633']
    hgrepos = []
    issue_num = 2255
    keywords = ['patch']
    message_count = 5.0
    messages = ['63370', '63372', '63387', '63392', '63393']
    nosy_count = 3.0
    nosy_names = ['lemburg', 'facundobatista', 'neoclust']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2255'
    versions = ['Python 2.5']

    @neoclust
    Copy link
    Mannequin Author

    neoclust mannequin commented Mar 7, 2008

    here is a patch fixing the issue by changing mandrake to mandriva

    @neoclust neoclust mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Mar 7, 2008
    @facundobatista
    Copy link
    Member

    Assigning as the platform.py file says.

    The patch is straightforward, I'm only concerned with backward
    compatibility...

    @malemburg
    Copy link
    Member

    I think it's better to add the new name rather than replace the existing
    one.

    @neoclust
    Copy link
    Mannequin Author

    neoclust mannequin commented Mar 8, 2008

    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.

    @malemburg
    Copy link
    Member

    Fixed in r61304.

    Backport candidate.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants