diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-08-03 07:42:42 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-08-03 07:42:42 (GMT) |
commit | fcd77016b31ea9fb5311695f5ca82cf6c235da87 (patch) | |
tree | b0462f3f2b40b5c6c2e2eda6abea0a6e92c61af5 | |
parent | 64b02de01070d5a05d25b5d6be1cdf7889837ce4 (diff) | |
download | cpython-fcd77016b31ea9fb5311695f5ca82cf6c235da87.zip cpython-fcd77016b31ea9fb5311695f5ca82cf6c235da87.tar.gz cpython-fcd77016b31ea9fb5311695f5ca82cf6c235da87.tar.bz2 |
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
-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 f856a43..8051041 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' |