1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-08-18 12:20:10 +02:00

Enforce list type on "native"

This commit is contained in:
Daniel Martí 2013-07-13 22:21:37 +02:00
parent b146f11c46
commit 564d53cd17

View File

@ -294,7 +294,7 @@ def scan_apks(apps, apkcache, repodir, knownapks):
elif line.startswith("sdkVersion:"):
thisinfo['sdkversion'] = re.match(sdkversion_pat, line).group(1)
elif line.startswith("native-code:"):
thisinfo['nativecode'] = line[14:-1].split("' '")
thisinfo['nativecode'] = list(line[14:-1].split("' '"))
elif line.startswith("uses-permission:"):
perm = re.match(string_pat, line).group(1)
if perm.startswith("android.permission."):