From: Daniel Martí Date: Fri, 11 Apr 2014 22:14:05 +0000 (+0200) Subject: Fix counting of scanner problems X-Git-Tag: 0.2~132 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=67054c7c6f8b37d1591f724101f009818e478d75;p=fdroidserver.git Fix counting of scanner problems --- diff --git a/fdroidserver/common.py b/fdroidserver/common.py index ef36deb6..da6be67f 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1276,9 +1276,9 @@ def scan_source(build_dir, root_dir, thisbuild): elif mime == 'application/x-archive': count += handleproblem('static library', fd, fp) elif mime == 'application/x-executable': - handleproblem('binary executable', fd, fp) + count += handleproblem('binary executable', fd, fp) elif mime == 'application/x-java-applet': - handleproblem('Java compiled class', fd, fp) + count += handleproblem('Java compiled class', fd, fp) elif mime == 'application/jar' and has_extension(fp, 'apk'): removeproblem('APK file', fd, fp) elif has_extension(fp, 'jar') and mime in [