diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-08-03 07:42:42 +0000 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-08-03 07:42:42 +0000 |
commit | 9f459869c5ba768d9c5499f0c86f89b984349514 (patch) | |
tree | ef472bfea3fd7426c5b8f5f7e25a37ce39817f60 /Lib/platform.py | |
parent | 5226b10f5bb8423c49f7832f378bc29642e28c4c (diff) | |
download | cpython-9f459869c5ba768d9c5499f0c86f89b984349514.tar.gz |
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-x | Lib/platform.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/platform.py b/Lib/platform.py index f856a43c04..8051041679 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -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' |