mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02: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
@ -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…
Reference in New Issue
Block a user