changeset 16210:726ce5d794b2

Merge with stable
author Brendan Cully <brendan@kublai.com>
date Fri, 02 Mar 2012 10:43:06 -0800
parents 85db991780b7 (current diff) 5536770b3c88 (diff)
children 7d2cafcc80b0
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Fri Mar 02 09:57:09 2012 +0100
+++ b/setup.py	Fri Mar 02 10:43:06 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: