--- a/bindings/python/wscript Tue Oct 04 19:55:58 2011 +0200
+++ b/bindings/python/wscript Wed Oct 05 16:39:57 2011 +0100
@@ -430,7 +430,7 @@
if Options.options.apiscan:
if not env['ENABLE_PYTHON_SCANNING']:
- raise Utils.WafError("Cannot re-scan python bindings: (py)gccxml not available")
+ raise WafError("Cannot re-scan python bindings: (py)gccxml not available")
scan_targets = []
if sys.platform == 'cygwin':
scan_targets.append(('gcc_cygwin', ''))
@@ -441,7 +441,7 @@
elif struct.calcsize('I') == 4 and struct.calcsize('L') == 4 and struct.calcsize('P') == 4:
scan_targets.append(('gcc_ILP32', ''))
else:
- raise Utils.WafError("Cannot scan python bindings for unsupported data model")
+ raise WafError("Cannot scan python bindings for unsupported data model")
test_module_path = bld.path.find_dir("../../src/test")
if Options.options.apiscan == 'all':