mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] pep8
This commit is contained in:
parent
dabb9c9285
commit
835ded668e
1 changed files with 4 additions and 2 deletions
|
@ -161,8 +161,10 @@ def domain_add(auth, domain, dyndns=False):
|
|||
except IOError: pass
|
||||
except:
|
||||
# Force domain removal silently
|
||||
try: domain_remove(auth, domain, True)
|
||||
except: pass
|
||||
try:
|
||||
domain_remove(auth, domain, True)
|
||||
except:
|
||||
pass
|
||||
raise
|
||||
|
||||
hook_callback('post_domain_add', args=[domain])
|
||||
|
|
Loading…
Add table
Reference in a new issue