author | Brendan Cully <brendan@kublai.com> |
Fri, 02 Mar 2012 10:42:12 -0800 | |
branch | stable |
changeset 16209 | 5536770b3c88 |
parent 16207 | 374e08439ea6 |
child 16210 | 726ce5d794b2 |
child 16215 | 8412d5a02e6e |
--- a/setup.py Fri Mar 02 09:54:45 2012 +0100 +++ b/setup.py Fri Mar 02 10:42:12 2012 -0800 @@ -454,7 +454,7 @@ # distutils.sysconfig version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[0].splitlines() if version: - version = version.splitlines()[0] + version = version[0] xcode4 = (version.startswith('Xcode') and StrictVersion(version.split()[1]) >= StrictVersion('4.0')) else: