Set max file size to 1MB

This commit is contained in:
Alexander Mai 2016-02-02 17:44:52 +01:00
parent d8b75e3492
commit 7b68da3017
1 changed files with 1 additions and 1 deletions

View File

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