mirror of https://github.com/python/cpython
merge with 3.4
This commit is contained in:
commit
9ac894aeff
|
@ -173,10 +173,6 @@ Options: -v verbose (print all checked file names)
|
||||||
count = defaultdict(int)
|
count = defaultdict(int)
|
||||||
|
|
||||||
for root, dirs, files in os.walk(path):
|
for root, dirs, files in os.walk(path):
|
||||||
# ignore subdirs controlled by svn
|
|
||||||
if '.svn' in dirs:
|
|
||||||
dirs.remove('.svn')
|
|
||||||
|
|
||||||
# ignore subdirs in ignore list
|
# ignore subdirs in ignore list
|
||||||
if abspath(root) in ignore:
|
if abspath(root) in ignore:
|
||||||
del dirs[:]
|
del dirs[:]
|
||||||
|
|
Loading…
Reference in New Issue