chiark / gitweb /
scanner: also ignore ttf and otf files
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 17 Sep 2015 00:14:06 +0000 (17:14 -0700)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 17 Sep 2015 00:14:06 +0000 (17:14 -0700)
fdroidserver/scanner.py

index 3a87c003f0cd8a67915571fc67bbf2c89351e67e..c5e18ddc4a0c073224bc42cc6f5f054e57ea82a8 100644 (file)
@@ -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):