mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-07 01:41:06 +03:00
Merge branch 'invalid-apk-fix' into 'master'
Fix bug when scanning invalid APKs and add a test for it See merge request !246
This commit is contained in:
commit
d6310ed52c
2 changed files with 20 additions and 1 deletions
|
@ -793,7 +793,7 @@ def scan_apk(apkcache, apkfilename, repodir, knownapks, use_date_from_apk):
|
|||
logging.error("Could not find {0} to remove it".format(apkfile))
|
||||
else:
|
||||
logging.error("Failed to get apk information, skipping " + apkfile)
|
||||
return True
|
||||
return True, None, False
|
||||
for line in p.output.splitlines():
|
||||
if line.startswith("package:"):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue