Title: [commits] (bear) [11284] Changed getPlatformName() to use platform.machine() as it will report Power Macintosh when a PPC built Chandler is run on an Intel Mac
Revision
11284
Author
bear
Date
2006-07-31 11:28:38 -0700 (Mon, 31 Jul 2006)

Log Message

Changed getPlatformName() to use platform.machine() as it will report Power Macintosh when a PPC built Chandler is run on an Intel Mac

Modified Paths

Diff

Modified: trunk/chandler/application/Utility.py (11283 => 11284)

--- trunk/chandler/application/Utility.py	2006-07-31 18:05:10 UTC (rev 11283)
+++ trunk/chandler/application/Utility.py	2006-07-31 18:28:38 UTC (rev 11284)
@@ -166,7 +166,7 @@
         platformName = 'Windows'
     elif os.name == 'posix':
         if sys.platform == 'darwin':
-            if platform.processor() == 'i386':
+            if platform.machine() == 'i386':
                 platformName = 'Mac OS X (intel)'
             else:
                 platformName = 'Mac OS X (ppc)'




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to