retreat commit

This commit is contained in:
David Brázda
2023-10-09 09:15:52 +02:00
parent a6678f9a4f
commit be93c17848
93 changed files with 16821 additions and 2561 deletions

View File

@ -19,6 +19,10 @@ def get_conditions_from_configuration(action: str, section: dict):
for indname, condition in section.items():
#prvnim je vzdy indikator na ktery se direktiva odkazuje, tzn. projedeme vsechny tyto indikatory
# #pokud je zde neco jineho nez dict, tak ignorujeme
if not isinstance(condition, dict):
continue
for directive, value in condition.items():
if directive.startswith(action):
reslist["OR"].append((indname, directive, value))