From 4bd2c3dfb892e397f6793efee02b69a04c800cf0 Mon Sep 17 00:00:00 2001 From: Marc Wrobel Date: Sun, 4 Feb 2024 18:14:48 +0100 Subject: [PATCH] Process product in alphabetic order for a given method (#296) --- src/common/endoflife.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/endoflife.py b/src/common/endoflife.py index 3758f1b9..a95f5bfd 100644 --- a/src/common/endoflife.py +++ b/src/common/endoflife.py @@ -84,7 +84,7 @@ def list_products(method: str, products_filter: str = None) -> list[ProductFront """Return a list of products that are using the same given update method.""" products = [] - for product_file in PRODUCTS_PATH.glob("*.md"): + for product_file in sorted(PRODUCTS_PATH.glob("*.md")): product_name = product_file.stem if products_filter and product_name != products_filter: continue