[cli][domain] continue -> return

This commit is contained in:
Maxime Alves LIRMM@home 2020-08-07 00:24:58 +02:00
parent 976ba9b808
commit 51c319de20
1 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ def update_db():
except ImportError:
# Domain is not available in current PYTHONPATH
click.echo(f"Can't import *{domain}*", err=True)
continue
return False
try:
add_domain(domain)
@ -206,7 +206,7 @@ def update_db():
# @TODO : Insertion exception handling
click.echo(e)
click.echo(f"Could not insert *{domain}*", err=True)
continue
return False
# add sub routers
try: