1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 23:23:27 +02:00

Better @string globbing, should fix some AutoNames

This commit is contained in:
Daniel Martí 2013-06-27 21:39:00 +02:00
parent 09a781977c
commit c2c1792727

View File

@ -884,7 +884,7 @@ def fetch_real_name(app_dir):
name2 = None
string_search= re.compile(r'.*"'+id+'".*>([^<]+?)<.*').search
for xmlfile in glob.glob(os.path.join(
app_dir, 'res', 'values', 'strings*.xml')):
app_dir, 'res', 'values', '*string*.xml')):
for line in file(xmlfile):
if name2 is not None:
break