You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
waf/waf-1.6.2-extras-boost-synt...

23 lines
760 B

Index: waflib/extras/boost.py
===================================================================
--- waflib/extras/boost.py (revision 10894)
+++ waflib/extras/boost.py (revision 10895)
@@ -319,7 +319,7 @@
self.start_msg(kw.get('msg_includes', 'Checking for boost include path'))
ret = self.find_boost_includes(kw)
- except Errors.ConfigurationError, e:
+ except Errors.ConfigurationError as e:
if 'errmsg' in kw:
self.end_msg(kw['errmsg'], 'YELLOW')
raise e
@@ -331,7 +331,7 @@
self.start_msg('Checking for library boost_'+lib)
try:
self.find_boost_library(lib, kw)
- except Errors.ConfigurationError, e:
+ except Errors.ConfigurationError as e:
ret = False
if 'errmsg' in kw:
self.end_msg(kw['errmsg'], 'YELLOW')