[Python-checkins] r83644 - python/branches/py3k/Lib/platform.py
ronald.oussoren
python-checkins at python.org
Tue Aug 3 09:42:42 CEST 2010
Author: ronald.oussoren
Date: Tue Aug 3 09:42:42 2010
New Revision: 83644
Log:
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc
Modified:
python/branches/py3k/Lib/platform.py
Modified: python/branches/py3k/Lib/platform.py
==============================================================================
--- python/branches/py3k/Lib/platform.py (original)
+++ python/branches/py3k/Lib/platform.py Tue Aug 3 09:42:42 2010
@@ -777,7 +777,7 @@
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'
More information about the Python-checkins
mailing list