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

This commit is contained in:
Ronald Oussoren 2010-08-03 07:42:42 +00:00
parent 64b02de010
commit fcd77016b3
1 changed files with 1 additions and 1 deletions

View File

@ -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'