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
aff6740288
commit
80fb5f57cf
1 changed files with 4 additions and 2 deletions
|
@ -158,8 +158,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