FIX: add ws so that unstable doesn't match stable

This commit is contained in:
germann_e 2023-08-23 14:00:58 +02:00
parent 4fabebf7ce
commit 5b525bbe7b

View File

@ -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()) old_db = set(" ".join(i.split()) for i in old_pmodule_state.splitlines())
all_module_list = list(current_db) 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( all_module_list_sorted += sorted(
[x for x in all_module_list if "unstable" in x] [x for x in all_module_list if "unstable" in x]
) )