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
bdc6e6b85b
commit
bbc5e00c35
1 changed files with 0 additions and 3 deletions
|
@ -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'))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue