[mod] remove unused variables

This commit is contained in:
Laurent Peuch 2017-08-13 23:14:05 +02:00
parent bb4af396d8
commit ee7fd825d4

View file

@ -86,9 +86,6 @@ def domain_add(auth, domain, dyndns=False):
attr_dict = {'objectClass': ['mailDomain', 'top']}
now = datetime.datetime.now()
timestamp = str(now.year) + str(now.month) + str(now.day)
if domain in domain_list(auth)['domains']:
raise MoulinetteError(errno.EEXIST, m18n.n('domain_exists'))