FIX: add .sort for all modules list
This commit is contained in:
@ -100,7 +100,7 @@ def db_check_diff(current_pmodule_state, Pmodules_db_path, Pmodules_states):
|
|||||||
" ".join(i.split()) for i in current_pmodule_state.splitlines()
|
" ".join(i.split()) for i in current_pmodule_state.splitlines()
|
||||||
)
|
)
|
||||||
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).sort()
|
||||||
|
|
||||||
# We have to check the differences between the pmodule states.
|
# We have to check the differences between the pmodule states.
|
||||||
if compare_states_sha(current_pmodule_state, old_pmodule_state, current_sha):
|
if compare_states_sha(current_pmodule_state, old_pmodule_state, current_sha):
|
||||||
|
Reference in New Issue
Block a user