mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 08:20:28 +03:00
Merge branch 'sortxml' into 'master'
Sort the xml file pathes for consistent result See merge request fdroid/fdroidserver!1174
This commit is contained in:
commit
a1286209ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue