chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d185e04
)
Warn about zip files like with jar files
author
Daniel Martí
<mvdan@mvdan.cc>
Tue, 18 Feb 2014 07:32:35 +0000
(08:32 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Tue, 18 Feb 2014 07:32:35 +0000
(08:32 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 57156fcb838215fc6d5dd9a1df58db1ec2932488..b0d8522b0c9c0bd81f5bba915d414936a54384e4 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-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):