[cli][domain] continue to convert code ...

This commit is contained in:
Maxime Alves LIRMM@home 2020-08-07 00:28:46 +02:00
parent 63793a94e5
commit 05a95d069b
1 changed files with 3 additions and 3 deletions

View File

@ -200,7 +200,7 @@ def update_db(domain):
return False
try:
add_domain(domain)
add_domain()
except Exception as e:
# Could not insert Domain
# @TODO : Insertion exception handling
@ -224,7 +224,7 @@ def update_db(domain):
continue
try:
add_router(router_name, domain)
add_router(router_name)
except Exception as e:
# Could not insert Router
# @TODO : Insertion exception handling
@ -236,7 +236,7 @@ def update_db(domain):
for http_verb, acls in route_params.items():
try:
# Insert a route and it's ACLS
add_route(http_verb, route_path, router_name, domain, acls)
add_route(http_verb, route_path, router_name, acls)
except Exception as e:
# Could not insert route
# @TODO : Insertion exception handling