scanner - tgz is gzip

This commit is contained in:
Licaon_Kter 2023-06-01 07:43:42 +00:00
parent d929c15843
commit 2a60f6c195

View file

@ -680,7 +680,7 @@ def scan_source(build_dir, build=metadata.Build(), json_per_build=None):
count += handleproblem( count += handleproblem(
_('Android DEX code'), path_in_build_dir, filepath, json_per_build _('Android DEX code'), path_in_build_dir, filepath, json_per_build
) )
elif curfile.endswith('.gz'): elif curfile.endswith('.gz') or curfile.endswith('.tgz'):
count += handleproblem( count += handleproblem(
_('gzip file archive'), path_in_build_dir, filepath, json_per_build _('gzip file archive'), path_in_build_dir, filepath, json_per_build
) )