From fcd77016b31ea9fb5311695f5ca82cf6c235da87 Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Tue, 3 Aug 2010 07:42:42 +0000 Subject: [PATCH] Fix for issue 9455: platform.mac_ver() broken on OSX/ppc --- Lib/platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/platform.py b/Lib/platform.py index f856a43c046..8051041679b 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'