mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Merge remote-tracking branch 'felix/reverse-sort'
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
This commit is contained in:
commit
eceb1cc346
|
|
@ -169,7 +169,7 @@ def getImageList():
|
|||
|
||||
url_dict = {}
|
||||
for distro, images in img_dict.items():
|
||||
images.sort(key=lambda x: x['sort_key'])
|
||||
images.sort(key=lambda x: x['sort_key'], reverse=True)
|
||||
logger.debug("[IMAGES] %r %r", distro, images)
|
||||
url_dict[distro] = [getDetail(image, urlbase) for image in images]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue