From: José Fonseca Date: Fri, 4 Sep 2009 18:38:35 +0000 (+0100) Subject: scons: Used wrong exception class. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9216b4e7be942fed432ceb42a4337d7298d0bc6c;p=mesa.git scons: Used wrong exception class. --- 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')