summaryrefslogtreecommitdiffstats
path: root/Lib/_osx_support.py
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-04-19 20:27:06 (GMT)
committerNed Deily <nad@acm.org>2014-04-19 20:27:06 (GMT)
commit6d17235746c21b3aa9c84f6bfdc0acd1ce3249d2 (patch)
tree710961c90486f73869001c4866ad794fef9aa655 /Lib/_osx_support.py
parent0f1155c6cc2992ca732dd5f1e9aeed0b8315b0ba (diff)
parentf31b4782084abef023d9ade3990385fb905a092f (diff)
downloadcpython-6d17235746c21b3aa9c84f6bfdc0acd1ce3249d2.zip
cpython-6d17235746c21b3aa9c84f6bfdc0acd1ce3249d2.tar.gz
cpython-6d17235746c21b3aa9c84f6bfdc0acd1ce3249d2.tar.bz2
Issue #21311: merge with 3.4
Diffstat (limited to 'Lib/_osx_support.py')
-rw-r--r--Lib/_osx_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_osx_support.py b/Lib/_osx_support.py
index 40fc78b..b6eac5f 100644
--- a/Lib/_osx_support.py
+++ b/Lib/_osx_support.py
@@ -182,7 +182,7 @@ def _find_appropriate_compiler(_config_vars):
# Compiler is GCC, check if it is LLVM-GCC
data = _read_output("'%s' --version"
% (cc.replace("'", "'\"'\"'"),))
- if 'llvm-gcc' in data:
+ if data and 'llvm-gcc' in data:
# Found LLVM-GCC, fall back to clang
cc = _find_build_tool('clang')