Module: Mesa Branch: master Commit: 9216b4e7be942fed432ceb42a4337d7298d0bc6c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9216b4e7be942fed432ceb42a4337d7298d0bc6c
Author: José Fonseca <[email protected]> Date: Fri Sep 4 19:38:35 2009 +0100 scons: Used wrong exception class. --- scons/llvm.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scons/llvm.py b/scons/llvm.py index 53cf71c..702f1e3 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') _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
