mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Merge comparisons with 'in'
This commit is contained in:
parent
f4739ef3c0
commit
cf0100cf11
6 changed files with 19 additions and 17 deletions
|
|
@ -2616,7 +2616,7 @@ def get_apk_id_androguard(apkfile):
|
|||
|
||||
if axml.getName() == 'manifest':
|
||||
break
|
||||
elif _type == END_TAG or _type == TEXT or _type == END_DOCUMENT:
|
||||
elif _type in (END_TAG, TEXT, END_DOCUMENT):
|
||||
raise RuntimeError('{path}: <manifest> must be the first element in AndroidManifest.xml'
|
||||
.format(path=apkfile))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue