Set max file size to 1MB
This commit is contained in:
parent
d8b75e3492
commit
7b68da3017
|
@ -116,7 +116,7 @@ def removeLargeFiles(path):
|
||||||
removeLargeFiles(g + '/')
|
removeLargeFiles(g + '/')
|
||||||
elif os.path.isfile(g) and g[-4:] != '.txt':
|
elif os.path.isfile(g) and g[-4:] != '.txt':
|
||||||
statinfo = os.stat(g)
|
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)
|
os.remove(g)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue