mirror of https://gitlab.com/ita1024/waf.git
Issue 1086
This commit is contained in:
parent
2f205b0e49
commit
a7e69d6b81
|
@ -483,7 +483,7 @@ class Node(object):
|
|||
if getattr(node, 'cache_isdir', None) or isdir:
|
||||
node.cache_isdir = True
|
||||
if maxdepth:
|
||||
for k in node.ant_iter(accept=accept, maxdepth=maxdepth - 1, pats=npats, dir=dir, src=src):
|
||||
for k in node.ant_iter(accept=accept, maxdepth=maxdepth - 1, pats=npats, dir=dir, src=src, remove=remove):
|
||||
yield k
|
||||
raise StopIteration
|
||||
|
||||
|
|
Loading…
Reference in New Issue