[Numpy-svn] r4505 - branches/numpy.scons/numpy/distutils/scons/core

numpy-svn@scip... numpy-svn@scip...
Sun Nov 25 11:36:57 CST 2007


Author: cdavid
Date: 2007-11-25 11:36:52 -0600 (Sun, 25 Nov 2007)
New Revision: 4505

Modified:
   branches/numpy.scons/numpy/distutils/scons/core/template_generators.py
Log:
Fix scons builder's scanner for template

Modified: branches/numpy.scons/numpy/distutils/scons/core/template_generators.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/core/template_generators.py	2007-11-25 17:34:45 UTC (rev 4504)
+++ branches/numpy.scons/numpy/distutils/scons/core/template_generators.py	2007-11-25 17:36:52 UTC (rev 4505)
@@ -35,7 +35,6 @@
     
 _INCLUDE_RE = re.compile(r"include\s*['\"](\S+)['\"]", re.M)
 
-def generate_from_template_scanner(node, env, path, arg):
-    print "SCANNING, YO !"
+def generate_from_template_scanner(node, env, path, arg = None):
     cnt = node.get_contents()
     return _INCLUDE_RE.findall(cnt)



More information about the Numpy-svn mailing list