am ef502c6d: am 52bd431e: am d65bb799: am 86ffa1cd: am 5da7ec4f: Merge "Follow symlinks in findleaves"

* commit 'ef502c6da0933e7eb51ff769a61c8321d51573a1':
  Follow symlinks in findleaves
This commit is contained in:
Conley Owens 2012-09-04 11:12:56 -07:00 committed by Android Git Automerger
commit aa1e31358a
1 changed files with 1 additions and 1 deletions

View File

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