Commit fcd77016 authored by Ronald Oussoren's avatar Ronald Oussoren

Fix for issue 9455: platform.mac_ver() broken on OSX/ppc

parent 64b02de0
......@@ -777,7 +777,7 @@ def _mac_ver_xml():
release = pl['ProductVersion']
versioninfo=('', '', '')
machine = os.uname()[4]
if machine == 'ppc':
if machine in ('ppc', 'Power Macintosh'):
# for compatibility with the gestalt based code
machine = 'PowerPC'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment