From: Ciaran Gultnieks Date: Mon, 13 Aug 2012 16:58:02 +0000 (+0100) Subject: Scan for random apk files floating around in 'source code' X-Git-Tag: 0.1~791 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=58a9fc3c1adf6629158eacf37c77d64fd3c7dd8a;p=fdroidserver.git Scan for random apk files floating around in 'source code' --- diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 37caf6fc..325dfea5 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1049,6 +1049,10 @@ def scan_source(build_dir, root_dir, thisbuild): msg = 'Found probable non-free blob ' + fp problems.append(msg) + if curfile.endswith('.apk'): + msg = 'Found apk file, which should not be in the source - ' + fp + problems.append(msg) + if curfile.endswith('.java'): for line in file(fp):