daca2: remove ../clang/INPUTS/.. files since these take so long time to scan

This commit is contained in:
Daniel Marjamäki 2014-03-06 20:36:52 +01:00
parent 29d401ff38
commit dddd9848b8
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ def removeLargeFiles(path):
removeLargeFiles(g + '/')
elif os.path.isfile(g) and g[-4:] != '.txt':
statinfo = os.stat(g)
if statinfo.st_size > 100000:
if path.find('/clang/INPUTS/') > 0 or statinfo.st_size > 100000:
os.remove(g)