From 3f7b6b8734beda9fb878638f58a0f5dfe897ec8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Fri, 14 Jun 2013 08:42:43 +0200 Subject: [PATCH] Allow extra fields in real name string --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 85ccef88..c14e766a 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -876,7 +876,7 @@ def fetch_real_name(app_dir): if name.startswith('@string/'): id = name[8:] name2 = None - string_search= re.compile(r'.*"'+id+'">([^<]+?)<.*').search + string_search= re.compile(r'.*"'+id+'".*>([^<]+?)<.*').search for xmlfile in glob.glob(os.path.join( app_dir, 'res', 'values', 'strings*.xml')): for line in file(xmlfile):