mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Enforce list type on "native"
This commit is contained in:
parent
b146f11c46
commit
564d53cd17
@ -294,7 +294,7 @@ def scan_apks(apps, apkcache, repodir, knownapks):
|
|||||||
elif line.startswith("sdkVersion:"):
|
elif line.startswith("sdkVersion:"):
|
||||||
thisinfo['sdkversion'] = re.match(sdkversion_pat, line).group(1)
|
thisinfo['sdkversion'] = re.match(sdkversion_pat, line).group(1)
|
||||||
elif line.startswith("native-code:"):
|
elif line.startswith("native-code:"):
|
||||||
thisinfo['nativecode'] = line[14:-1].split("' '")
|
thisinfo['nativecode'] = list(line[14:-1].split("' '"))
|
||||||
elif line.startswith("uses-permission:"):
|
elif line.startswith("uses-permission:"):
|
||||||
perm = re.match(string_pat, line).group(1)
|
perm = re.match(string_pat, line).group(1)
|
||||||
if perm.startswith("android.permission."):
|
if perm.startswith("android.permission."):
|
||||||
|
Loading…
Reference in New Issue
Block a user