mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Fix counting of scanner problems
This commit is contained in:
parent
81e6fb8eb5
commit
67054c7c6f
1 changed files with 2 additions and 2 deletions
|
|
@ -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 [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue