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:
a0e7409
)
Don't error when finding apk files, just delete them
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 30 Oct 2013 18:15:15 +0000
(19:15 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 30 Oct 2013 18:15:15 +0000
(19:15 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 84577c99f564edb931c2bb8e143330e5df60229d..6c066314a76090f7b991b9c285b800df3b4a80c9 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-1654,7
+1654,8
@@
def scan_source(build_dir, root_dir, thisbuild):
elif mime == 'application/x-executable':
problems.append('Found binary executable at %s' % fd)
elif mime == 'application/jar' and fp.endswith('.apk'):
- problems.append('Found apk archive at %s' % fd)
+ print 'Removing apk file at %s' % fd
+ os.remove(fp)
elif curfile.endswith('.java'):
for line in file(fp):