diff --git a/pmodules_tools/db_diff/check.py b/pmodules_tools/db_diff/check.py index e22098b6..ec012bd1 100644 --- a/pmodules_tools/db_diff/check.py +++ b/pmodules_tools/db_diff/check.py @@ -102,7 +102,8 @@ 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(all_module_list, key=itemgetter(0)) + print(all_module_list) + all_module_list = sorted(all_module_list) # We have to check the differences between the pmodule states. if compare_states_sha(current_pmodule_state, old_pmodule_state, current_sha):