equal
deleted
inserted
replaced
421 continue |
421 continue |
422 p = os.path.join(top, f) |
422 p = os.path.join(top, f) |
423 # don't trip over symlinks |
423 # don't trip over symlinks |
424 st = os.lstat(p) |
424 st = os.lstat(p) |
425 if stat.S_ISDIR(st.st_mode): |
425 if stat.S_ISDIR(st.st_mode): |
426 if not ignore(p): |
426 if not ignore(np): |
427 work.append(p) |
427 work.append(p) |
428 if imatch(np) and np in dc: |
428 if imatch(np) and np in dc: |
429 yield 'm', np, st |
429 yield 'm', np, st |
430 elif imatch(np): |
430 elif imatch(np): |
431 if self.supported_type(np, st): |
431 if self.supported_type(np, st): |