Fix use of WafError in exceptions in waf-tools/boost.py
authorTom Henderson <tomh@tomh.org>
Sun, 05 Apr 2015 14:35:43 +0200
changeset 11280 c145d97ab3e6
parent 11279 549f9a332ce0
child 11281 1af0b5e60fbb
Fix use of WafError in exceptions in waf-tools/boost.py
waf-tools/boost.py
--- a/waf-tools/boost.py	Sat Apr 04 08:22:44 2015 -0700
+++ b/waf-tools/boost.py	Sun Apr 05 14:35:43 2015 +0200
@@ -296,7 +296,7 @@
         try:
                 self.env['INCLUDES_%s' % var] = inc = self.boost_get_includes(**params)
                 self.env.BOOST_VERSION = self.boost_get_version(inc)
-        except WafError:
+        except Errors.WafError:
                 self.end_msg("not found", 'YELLOW')
                 raise
         #self.env['INCLUDES_%s' % var] = inc = self.boost_get_includes(**params)
@@ -311,7 +311,7 @@
         try:
                 suffix = params.get('static', None) and 'ST' or ''
                 path, libs = self.boost_get_libs(**params)
-        except WafError:
+        except Errors.WafError:
                 self.end_msg("not found", 'YELLOW')
                 raise
         #suffix = params.get('static', None) and 'ST' or ''