include '.gz$' files, unless in '^downloads/'
This commit is contained in:
parent
6fe64796fb
commit
a8ba135bf3
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ def filter_source(tarinfo):
|
|||
# FIXME: demos and tests should be removed anyway
|
||||
if re.search('^OxJS/(demos|downloads/|tests|tools/geo/png/icons/)', tarinfo.name):
|
||||
return None
|
||||
if re.search('/[._]', tarinfo.name) or re.search('(\.gz|[~])$', tarinfo.name):
|
||||
if re.search('/[._]', tarinfo.name) or re.search('~$', tarinfo.name):
|
||||
return None
|
||||
return tarinfo
|
||||
|
||||
|
|
Loading…
Reference in a new issue