From 271b1b7df10ff33b21950a9ca8603ea47a3a49ce Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Wed, 5 Oct 2011 16:39:57 +0100 Subject: [PATCH] Fix typos: Utils.WafError -> WafError --- bindings/python/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/wscript b/bindings/python/wscript index 1ea7a4692..e8111eab1 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -430,7 +430,7 @@ def build(bld): 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 @@ def build(bld): 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':