mirror of https://gitlab.com/ita1024/waf.git
Issue 1328 forgot to use the maxdepth argument in ant_glob()
This commit is contained in:
parent
58fe611bb9
commit
3f78d2223a
|
@ -576,7 +576,7 @@ class Node(object):
|
|||
nacc = []
|
||||
return [nacc, nrej]
|
||||
|
||||
ret = [x for x in self.ant_iter(accept=accept, pats=[to_pat(incl), to_pat(excl)], maxdepth=25, dir=dir, src=src, remove=kw.get('remove', True))]
|
||||
ret = [x for x in self.ant_iter(accept=accept, pats=[to_pat(incl), to_pat(excl)], maxdepth=kw.get('maxdepth', 25), dir=dir, src=src, remove=kw.get('remove', True))]
|
||||
if kw.get('flat', False):
|
||||
return ' '.join([x.path_from(self) for x in ret])
|
||||
|
||||
|
|
Loading…
Reference in New Issue