summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-08-03 07:42:42 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-08-03 07:42:42 (GMT)
commitfcd77016b31ea9fb5311695f5ca82cf6c235da87 (patch)
treeb0462f3f2b40b5c6c2e2eda6abea0a6e92c61af5 /Lib/platform.py
parent64b02de01070d5a05d25b5d6be1cdf7889837ce4 (diff)
downloadcpython-fcd77016b31ea9fb5311695f5ca82cf6c235da87.zip
cpython-fcd77016b31ea9fb5311695f5ca82cf6c235da87.tar.gz
cpython-fcd77016b31ea9fb5311695f5ca82cf6c235da87.tar.bz2
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-xLib/platform.py2
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'