1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Allow extra fields in real name string

This commit is contained in:
Daniel Martí 2013-06-14 08:42:43 +02:00
parent 182fd08cf4
commit 3f7b6b8734

View File

@ -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):