From dddd9848b8b847378f8f3f51154d130a3c872d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 6 Mar 2014 20:36:52 +0100 Subject: [PATCH] daca2: remove ../clang/INPUTS/.. files since these take so long time to scan --- tools/daca2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/daca2.py b/tools/daca2.py index 987671814..a1366c82f 100644 --- a/tools/daca2.py +++ b/tools/daca2.py @@ -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)