[Python-checkins] r45486 - python/trunk/Lib/platform.py
ronald.oussoren
python-checkins at python.org
Mon Apr 17 15:37:15 CEST 2006
Author: ronald.oussoren
Date: Mon Apr 17 15:37:15 2006
New Revision: 45486
Modified:
python/trunk/Lib/platform.py
Log:
Teach platform about darwin/x86
Modified: python/trunk/Lib/platform.py
==============================================================================
--- python/trunk/Lib/platform.py (original)
+++ python/trunk/Lib/platform.py Mon Apr 17 15:37:15 2006
@@ -607,7 +607,8 @@
versioninfo = (version,stage,nonrel)
if sysa:
machine = {0x1: '68k',
- 0x2: 'PowerPC'}.get(sysa,'')
+ 0x2: 'PowerPC',
+ 0xa: 'i386'}.get(sysa,'')
return release,versioninfo,machine
def _java_getprop(name,default):
More information about the Python-checkins
mailing list