Merge branch 'sortxml' into 'master'

Sort the xml file pathes for consistent result

See merge request fdroid/fdroidserver!1174
This commit is contained in:
Jochen Sprickerhof
2022-08-24 13:51:47 +00:00

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: