Merge pull request #360 from matthiaskrgr/daca_

daca: keep files that we can check (see path.cpp).
This commit is contained in:
Daniel Marjamäki 2014-07-10 08:29:43 +02:00
commit 798c6c6898
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):