aboutsummaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-09-04 19:38:35 +0100
committerJosé Fonseca <[email protected]>2009-09-04 19:38:35 +0100
commit9216b4e7be942fed432ceb42a4337d7298d0bc6c (patch)
tree8639aa05da268e373720ea24c94ad84c08825108 /scons
parentb9f56078cd8b68e3f473d23232c1aa2f0f664a19 (diff)
scons: Used wrong exception class.
Diffstat (limited to 'scons')
-rw-r--r--scons/llvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/llvm.py b/scons/llvm.py
index 53cf71c03f7..702f1e354f6 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -58,7 +58,7 @@ def generate(env):
if env.Detect('llvm-config'):
try:
env['LLVM_VERSION'] = env.backtick('llvm-config --version')
- except NameError:
+ except AttributeError:
env['LLVM_VERSION'] = 'X.X'
env.ParseConfig('llvm-config --cppflags')