From 58e3350bd48d59c273e320c408f2546e6d09146e Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Wed, 13 Jul 2011 15:07:04 -0700 Subject: Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64' as the processor type on some Mac systems. Also fix NameError in fallback _mac_ver_gestalt function. And remove out-of-date URL in docs. --- Lib/platform.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/platform.py') diff --git a/Lib/platform.py b/Lib/platform.py index 967491a827..6e301da0e1 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -758,6 +758,7 @@ def _mac_ver_gestalt(): 0x2: 'PowerPC', 0xa: 'i386'}.get(sysa,'') + versioninfo=('', '', '') return release,versioninfo,machine def _mac_ver_xml(): -- cgit v1.2.1