FIX: add ws so that unstable doesn't match stable
This commit is contained in:
parent
4fabebf7ce
commit
5b525bbe7b
@ -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]
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user