chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da2a4f2
)
scanner: also ignore ttf and otf files
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 17 Sep 2015 00:14:06 +0000
(17:14 -0700)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 17 Sep 2015 00:14:06 +0000
(17:14 -0700)
fdroidserver/scanner.py
patch
|
blob
|
history
diff --git
a/fdroidserver/scanner.py
b/fdroidserver/scanner.py
index 3a87c003f0cd8a67915571fc67bbf2c89351e67e..c5e18ddc4a0c073224bc42cc6f5f054e57ea82a8 100644
(file)
--- 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):