FIX: changed modules bug
This commit is contained in:
parent
960d7c0f88
commit
305bd93db7
@ -155,14 +155,14 @@ def print_pmodules_differences(
|
||||
changed_module_list = []
|
||||
|
||||
# Replace the state of the modules with * for Regex comparison
|
||||
new_module_list_no_state = []
|
||||
deleted_module_list_no_state = []
|
||||
new_module_list_no_state = new_module_list.copy()
|
||||
deleted_module_list_no_state = deleted_module_list.copy()
|
||||
for state in Pmodules_states:
|
||||
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 = [
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user