From e1581d0d38b41801341ad12af90fd4740c46d15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Tue, 18 Feb 2014 08:25:30 +0100 Subject: [PATCH] Catch all jar files --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 29ff9d14..9e4feff6 100644 --- 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'):