mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Read metadata in sorted order to make processing stable and reproducible.
This commit is contained in:
parent
de6732684a
commit
01fd3210d2
@ -153,7 +153,7 @@ def parse_metadata(metafile, **kw):
|
||||
|
||||
def read_metadata(verbose=False):
|
||||
apps = []
|
||||
for metafile in glob.glob(os.path.join('metadata', '*.txt')):
|
||||
for metafile in sorted(glob.glob(os.path.join('metadata', '*.txt'))):
|
||||
if verbose:
|
||||
print "Reading " + metafile
|
||||
apps.append(parse_metadata(metafile, verbose=verbose))
|
||||
|
Loading…
Reference in New Issue
Block a user