diff options
author | Trae Santiago <tsantiago@us.ibm.com> | 2023-12-14 06:19:37 -0600 |
---|---|---|
committer | Trae Santiago <tsantiago@us.ibm.com> | 2023-12-14 06:19:37 -0600 |
commit | a30c85f14bd6c8480983d293a51423ad08ee1ed0 (patch) | |
tree | 3889c33e340d9ab25b346e3ae2ed765bd4830c7f /python | |
parent | d01aba1f5055cdaa43c8429a2c13580679ec12f7 (diff) | |
download | vyos-1x-a30c85f14bd6c8480983d293a51423ad08ee1ed0.tar.gz vyos-1x-a30c85f14bd6c8480983d293a51423ad08ee1ed0.zip |
T5827: reversed version listing
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/system/grub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/system/grub.py b/python/vyos/system/grub.py index 4ebf229a0..2692aaea1 100644 --- a/python/vyos/system/grub.py +++ b/python/vyos/system/grub.py @@ -138,7 +138,7 @@ def version_list(root_dir: str = '') -> list[str]: versions_list: list[str] = [] for file in versions_files: versions_list.append(file.stem) - versions_list.sort() + versions_list.sort(reverse=True) return versions_list |