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:
15f2ead
)
Catch all jar files
author
Daniel Martí
<mvdan@mvdan.cc>
Tue, 18 Feb 2014 07:25:30 +0000
(08:25 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Tue, 18 Feb 2014 07:25:30 +0000
(08:25 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 29ff9d14b0eb1fac57e57128d1aa7ae1bcdc59d7..9e4feff69e79e87e702995226ebca67d9821d26c 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-1206,7
+1206,7
@@
def scan_source(build_dir, root_dir, thisbuild):
handleproblem('binary executable', fd, fp)
elif mime == 'application/jar' and has_extension(fp, 'apk'):
removeproblem('APK file', fd, fp)
- elif mime == 'application/jar'
and has_extension(fp, 'jar')
:
+ elif mime == 'application/jar':
warnproblem('JAR file', fd, fp)
elif has_extension(fp, 'java'):