From 166432e0b17e2b4ba257bb49d2eda996db67ea3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 15 May 2013 14:23:18 +0200 Subject: [PATCH] "app_version" is sometimes called "version" --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 9a7f92ec..bc3532b4 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -842,7 +842,7 @@ def parse_androidmanifest(app_dir): vcsearch = re.compile(r'.*android:versionCode="([0-9]+)".*').search vnsearch = re.compile(r'.*android:versionName="([^@]+)".*').search psearch = re.compile(r'.*package="([^"]+)".*').search - vnsearch_xml = re.compile(r'.*"app_version">([^<]+)<.*').search + vnsearch_xml = re.compile(r'.*"[a-z_]*version">([^<]+)<.*').search version = None vercode = None package = None