[mod] we don't use timestamp variable

This commit is contained in:
Laurent Peuch 2016-05-13 03:55:27 +02:00
parent bdc6e6b85b
commit bbc5e00c35

View file

@ -81,9 +81,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'))