chiark / gitweb /
Create a list of native code archs
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 17 Jun 2013 16:15:52 +0000 (18:15 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 17 Jun 2013 16:21:01 +0000 (18:21 +0200)
fdroidserver/update.py

index ce1934fe5ccc307fee57f2dc601a5550c62555fd..2d6c5845361309d4cc464602d98d3a0e91fdbc18 100644 (file)
@@ -291,7 +291,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'] = re.match(string_pat, line).group(1)
+                    thisinfo['nativecode'] = line[14:-1].split("' '")
                 elif line.startswith("uses-permission:"):
                     perm = re.match(string_pat, line).group(1)
                     if perm.startswith("android.permission."):