Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
This commit is contained in:
parent
64b02de010
commit
fcd77016b3
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue