Fix typos: Utils.WafError -> WafError
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Wed, 05 Oct 2011 16:39:57 +0100
changeset 7579 9dfb9d9c295f
parent 7578 e536a09d83ee
child 7580 06f479845ca4
Fix typos: Utils.WafError -> WafError
bindings/python/wscript
--- 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':