Warn about zip files like with jar files

This commit is contained in:
Daniel Martí 2014-02-18 08:32:35 +01:00
parent d185e04d9e
commit b9728b2980

View file

@ -1210,6 +1210,8 @@ def scan_source(build_dir, root_dir, thisbuild):
removeproblem('APK file', fd, fp)
elif mime == 'application/jar':
warnproblem('JAR file', fd, fp)
elif mime == 'application/zip':
warnproblem('ZIP file', fd, fp)
elif has_extension(fp, 'java'):
for line in file(fp):