From 5b525bbe7bcc583e22de1409033b60388a201c81 Mon Sep 17 00:00:00 2001 From: germann_e Date: Wed, 23 Aug 2023 14:00:58 +0200 Subject: [PATCH] FIX: add ws so that unstable doesn't match stable --- pmodules_tools/db_diff/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmodules_tools/db_diff/check.py b/pmodules_tools/db_diff/check.py index 896ca83e..cc98c639 100644 --- a/pmodules_tools/db_diff/check.py +++ b/pmodules_tools/db_diff/check.py @@ -102,7 +102,7 @@ def db_check_diff(current_pmodule_state, Pmodules_db_path, Pmodules_states): ) old_db = set(" ".join(i.split()) for i in old_pmodule_state.splitlines()) all_module_list = list(current_db) - all_module_list_sorted = sorted([x for x in all_module_list if "stable" in x]) + all_module_list_sorted = sorted([x for x in all_module_list if " stable" in x]) all_module_list_sorted += sorted( [x for x in all_module_list if "unstable" in x] )