FIX: += instead of append
This commit is contained in:
parent
e209896332
commit
43fd663df5
@ -103,8 +103,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())
|
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.append(sorted([x for x in all_module_list if 'unstable' in x]))
|
all_module_list_sorted += sorted([x for x in all_module_list if 'unstable' in x]))
|
||||||
all_module_list_sorted.append(sorted([x for x in all_module_list if 'deprecated' in x]))
|
all_module_list_sorted += sorted([x for x in all_module_list if 'deprecated' in x]))
|
||||||
all_module_list = all_module_list_sorted
|
all_module_list = all_module_list_sorted
|
||||||
|
|
||||||
# We have to check the differences between the pmodule states.
|
# We have to check the differences between the pmodule states.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user