Merge change 20816
* changes: joeo here -- pesky findleaves.sh wasn't pruning directories.
This commit is contained in:
commit
3b55dfc9a7
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ def perform_find(mindepth, prune, dirlist, filename):
|
|||
if check_prune:
|
||||
i = 0
|
||||
while i < len(dirs):
|
||||
if os.path.join(root, dirs[i]) in prune:
|
||||
if dirs[i] in prune:
|
||||
del dirs[i]
|
||||
else:
|
||||
i += 1
|
||||
|
|
Loading…
Reference in a new issue