summaryrefslogtreecommitdiff
path: root/bscript
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2011-06-15 08:40:26 +0900
committerDavid Cournapeau <cournape@gmail.com>2011-08-29 00:32:27 +0200
commit0d8b63637b2503546ff374ccc8c1dc5ad69e29ca (patch)
treee215305c50edea0b5d028c2404fe34af68fb711a /bscript
parentdab6ffc037959ef8c2b621ecfc69bf132fdffc44 (diff)
downloadnumpy-0d8b63637b2503546ff374ccc8c1dc5ad69e29ca.tar.gz
REF: use new hook signature.
Diffstat (limited to 'bscript')
-rw-r--r--bscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/bscript b/bscript
index a4186419d..61abe0d02 100644
--- a/bscript
+++ b/bscript
@@ -73,7 +73,7 @@ def remove_flag_prevalue(name, flag):
else:
break
-@hooks.pre_configure()
+@hooks.pre_configure
def pre_configure(context):
conf = context.waf_context
@@ -127,7 +127,7 @@ def process_write_config(self):
tsk.set_outputs(output)
return tsk
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context