2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 18:07:12 +01:00

corner case with recurse(recurse(name=a))

This commit is contained in:
Thomas Nagy 2011-12-06 03:43:15 +01:00
parent 250a8c699c
commit fd8bc22660

View File

@ -280,8 +280,9 @@ class Context(ctx):
self.post_recurse(node)
elif not node:
node = self.root.find_node(WSCRIPT)
if node and (not once or node not in cache):
cache[node] = True
tup = (node, name or self.fun)
if node and (not once or tup not in cache):
cache[tup] = True
self.pre_recurse(node)
try:
wscript_module = load_module(node.abspath())