Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86ffa1cd authored by Conley Owens's avatar Conley Owens Committed by Android Git Automerger
Browse files

am 5da7ec4f: Merge "Follow symlinks in findleaves"

* commit '5da7ec4f':
  Follow symlinks in findleaves
parents 9993b126 5da7ec4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -28,7 +28,7 @@ def perform_find(mindepth, prune, dirlist, filename):
  pruneleaves = set(map(lambda x: os.path.split(x)[1], prune))
  pruneleaves = set(map(lambda x: os.path.split(x)[1], prune))
  for rootdir in dirlist:
  for rootdir in dirlist:
    rootdepth = rootdir.count("/")
    rootdepth = rootdir.count("/")
    for root, dirs, files in os.walk(rootdir):
    for root, dirs, files in os.walk(rootdir, followlinks=True):
      # prune
      # prune
      check_prune = False
      check_prune = False
      for d in dirs:
      for d in dirs: