mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 15:02:51 +03:00
Sort the xml file pathes for consistent result
This commit is contained in:
parent
dbf667d1f5
commit
43ea0c35d8
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')
|
s = XMLElementTree.tostring(element, encoding='utf-8', method='text')
|
||||||
return s.decode('utf-8').strip()
|
return s.decode('utf-8').strip()
|
||||||
|
|
||||||
for path in xmlfiles:
|
for path in sorted(xmlfiles):
|
||||||
if not os.path.isfile(path):
|
if not os.path.isfile(path):
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue