daca: keep files that we can check (see path.cpp).

This commit is contained in:
Matthias Krüger 2014-07-09 18:47:44 +02:00
parent cb9d67b9ec
commit bfb2ebedec
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ def removeLargeFiles(path):
os.remove(g)
# remove non-source files
elif g[-2:] != '.C' and g[-2:] != '.c' and g[-4:] != '.cc' and g[-4:] != '.cpp' and g[-4:] != '.cxx' and g[-2:] != '.h':
elif g[-2:] != '.C' and g[-2:] != '.c' and g[-4:] != '.cc' and g[-4:] != '.cpp' and g[-4:] != '.cxx' and g[-2:] != '.h' and g[-2:] != '.H' and g[-4:] != '.c++' and g[-4:] != '.hpp' and g[-4:] != '.tpp' and g[-4:] != '.t++':
os.remove(g)
def downloadpackage(filepath, outpath):