* commit '86ffa1cd63ede2c8b923d124aca9adab5aaca260': Follow symlinks in findleaves
This commit is contained in:
commit
d65bb799ab
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ def perform_find(mindepth, prune, dirlist, filename):
|
|||
pruneleaves = set(map(lambda x: os.path.split(x)[1], prune))
|
||||
for rootdir in dirlist:
|
||||
rootdepth = rootdir.count("/")
|
||||
for root, dirs, files in os.walk(rootdir):
|
||||
for root, dirs, files in os.walk(rootdir, followlinks=True):
|
||||
# prune
|
||||
check_prune = False
|
||||
for d in dirs:
|
||||
|
|
Loading…
Reference in a new issue