[fix] remove duplicated line

This commit is contained in:
Laurent Peuch 2016-05-13 13:49:18 +02:00
parent 794bc25887
commit 2ff2df12d5

View file

@ -199,7 +199,6 @@ def domain_remove(auth, domain, force=False):
raise MoulinetteError(errno.EIO, m18n.n('domain_deletion_failed'))
service_regen_conf(names=['nginx', 'metronome', 'dnsmasq'])
os.system('yunohost app ssowatconf > /dev/null 2>&1')
assert os.system('yunohost app ssowatconf > /dev/null 2>&1') == 0, "SSOwat conf regen failed"
hook_callback('post_domain_remove', args=[domain])