mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Merged revisions 83644 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83644 | ronald.oussoren | 2010-08-03 09:42:42 +0200 (Tue, 03 Aug 2010) | 2 lines Fix for issue 9455: platform.mac_ver() broken on OSX/ppc ........
This commit is contained in:
parent
ac72e58a27
commit
22e3e694ed
1 changed files with 1 additions and 1 deletions
|
@ -781,7 +781,7 @@ def _mac_ver_xml():
|
||||||
release = pl['ProductVersion']
|
release = pl['ProductVersion']
|
||||||
versioninfo=('', '', '')
|
versioninfo=('', '', '')
|
||||||
machine = os.uname()[4]
|
machine = os.uname()[4]
|
||||||
if machine == 'ppc':
|
if machine in ('ppc', 'Power Macintosh'):
|
||||||
# for compatibility with the gestalt based code
|
# for compatibility with the gestalt based code
|
||||||
machine = 'PowerPC'
|
machine = 'PowerPC'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue