still testing²²²
This commit is contained in:
3
main.py
3
main.py
@@ -84,7 +84,7 @@ def yaml_to_services_list(filepath: str) -> dict|None:
|
||||
:param filepath: str
|
||||
:return: list|None
|
||||
'''
|
||||
|
||||
print(f"sorting services from {filepath}")
|
||||
serviceslist = dict()
|
||||
|
||||
if not os.path.isfile(filepath):
|
||||
@@ -106,6 +106,7 @@ def yaml_to_services_list(filepath: str) -> dict|None:
|
||||
|
||||
# on liste les services et ceux dont ils dépendent
|
||||
for servicename in ycontent["services"]:
|
||||
print(f"appending {servicename}")
|
||||
mustbefore = []
|
||||
if "depends_on" in ycontent["services"]:
|
||||
for dependance in ycontent["services"]["depends_on"]:
|
||||
|
||||
Reference in New Issue
Block a user