1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-04 16:30:12 +02:00

Sort the xml file pathes for consistent result

This commit is contained in:
linsui 2022-08-24 19:00:57 +08:00 committed by Jochen Sprickerhof
parent dbf667d1f5
commit 43ea0c35d8

View File

@ -1555,7 +1555,7 @@ def retrieve_string(app_dir, string, xmlfiles=None):
s = XMLElementTree.tostring(element, encoding='utf-8', method='text')
return s.decode('utf-8').strip()
for path in xmlfiles:
for path in sorted(xmlfiles):
if not os.path.isfile(path):
continue
try: