- Revision
- 11285
- Author
- bear
- Date
- 2006-07-31 11:39:55 -0700 (Mon, 31 Jul 2006)
Log Message
Updating getPlatformName() to use platform.machine() as it will report Power Macintosh when a PPC built Chanderl is run on an Intel Mac
Modified Paths
Diff
Modified: branches/0.7alpha3/chandler/application/Utility.py (11284 => 11285)
--- branches/0.7alpha3/chandler/application/Utility.py 2006-07-31 18:28:38 UTC (rev 11284) +++ branches/0.7alpha3/chandler/application/Utility.py 2006-07-31 18:39:55 UTC (rev 11285) @@ -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
