Merge branch 'master' of git.psi.ch:Pmodules/Pmodules_tools
This commit is contained in:
commit
19a0264c67
@ -164,14 +164,14 @@ def print_pmodules_differences(
|
|||||||
changed_module_list = []
|
changed_module_list = []
|
||||||
|
|
||||||
# Replace the state of the modules with * for Regex comparison
|
# Replace the state of the modules with * for Regex comparison
|
||||||
new_module_list_no_state = []
|
new_module_list_no_state = new_module_list.copy()
|
||||||
deleted_module_list_no_state = []
|
deleted_module_list_no_state = deleted_module_list.copy()
|
||||||
for state in Pmodules_states:
|
for state in Pmodules_states:
|
||||||
new_module_list_no_state = [
|
new_module_list_no_state = [
|
||||||
diff.replace(state, " .*") for diff in new_module_list
|
diff.replace(state, " .*") for diff in new_module_list_no_state
|
||||||
]
|
]
|
||||||
deleted_module_list_no_state = [
|
deleted_module_list_no_state = [
|
||||||
diff.replace(state, " .*") for diff in deleted_module_list
|
diff.replace(state, " .*") for diff in deleted_module_list_no_state
|
||||||
]
|
]
|
||||||
|
|
||||||
# Check if the state of the module is the only thing that changed
|
# Check if the state of the module is the only thing that changed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user