From 6177e41be40356bcd8fc3bbe6a40e055b31e9787 Mon Sep 17 00:00:00 2001 From: germann_e Date: Wed, 23 Aug 2023 13:31:39 +0200 Subject: [PATCH] FIX: parenthesis issue --- pmodules_tools/db_diff/check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pmodules_tools/db_diff/check.py b/pmodules_tools/db_diff/check.py index 13597c76..94125c2a 100644 --- a/pmodules_tools/db_diff/check.py +++ b/pmodules_tools/db_diff/check.py @@ -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()) 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 'unstable' in x])) - all_module_list_sorted += 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 'unstable' 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 # We have to check the differences between the pmodule states.