mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] we don't use timestamp variable
This commit is contained in:
parent
a64843fef5
commit
44986e08e4
1 changed files with 0 additions and 2 deletions
|
@ -80,8 +80,6 @@ def domain_add(auth, domain, dyndns=False):
|
|||
from yunohost.hook import hook_callback
|
||||
|
||||
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'))
|
||||
|
|
Loading…
Add table
Reference in a new issue