Issue 1086

This commit is contained in:
Thomas Nagy 2011-12-14 09:20:34 +01:00
parent 2f205b0e49
commit a7e69d6b81
1 changed files with 1 additions and 1 deletions

View File

@ -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