equal
deleted
inserted
replaced
500 continue |
500 continue |
501 if stat.S_ISDIR(st.st_mode): |
501 if stat.S_ISDIR(st.st_mode): |
502 for dir, subdirs, fl in os.walk(f): |
502 for dir, subdirs, fl in os.walk(f): |
503 d = dir[len(self.root) + 1:] |
503 d = dir[len(self.root) + 1:] |
504 nd = util.normpath(d) |
504 nd = util.normpath(d) |
|
505 if nd == '.': nd = '' |
505 if seen(nd): |
506 if seen(nd): |
506 subdirs[:] = [] |
507 subdirs[:] = [] |
507 continue |
508 continue |
508 for sd in subdirs: |
509 for sd in subdirs: |
509 ds = os.path.join(nd, sd +'/') |
510 ds = os.path.join(nd, sd +'/') |