equal
deleted
inserted
replaced
250 for f in names: |
250 for f in names: |
251 np = os.path.join(nd, f) |
251 np = os.path.join(nd, f) |
252 if seen(np): |
252 if seen(np): |
253 continue |
253 continue |
254 p = os.path.join(top, f) |
254 p = os.path.join(top, f) |
255 st = os.stat(p) |
255 # don't trip over symlinks |
|
256 st = os.lstat(p) |
256 if stat.S_ISDIR(st.st_mode): |
257 if stat.S_ISDIR(st.st_mode): |
257 ds = os.path.join(nd, f +'/') |
258 ds = os.path.join(nd, f +'/') |
258 if statmatch(ds, st): |
259 if statmatch(ds, st): |
259 work.append(p) |
260 work.append(p) |
260 else: |
261 else: |