From: Daniel Martí Date: Thu, 17 Sep 2015 00:14:06 +0000 (-0700) Subject: scanner: also ignore ttf and otf files X-Git-Tag: 0.5.0~89 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=feaf3d04e54168c51e4836f80e68335f1ba013b1;p=fdroidserver.git scanner: also ignore ttf and otf files --- diff --git a/fdroidserver/scanner.py b/fdroidserver/scanner.py index 3a87c003..c5e18ddc 100644 --- a/fdroidserver/scanner.py +++ b/fdroidserver/scanner.py @@ -162,7 +162,9 @@ def scan_source(build_dir, root_dir, thisbuild): # These files are often found - avoid checking if they are binary # to speed up the scanner - elif ext in ['xml', 'md', 'txt', 'html', 'sh', 'png']: + elif ext in [ + 'xml', 'md', 'txt', 'html', 'sh', 'png', 'jpg', + 'ttf', 'otf']: pass elif is_binary(fp):