mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] import at the beginning
This commit is contained in:
parent
db4874a57f
commit
fb19ec404c
1 changed files with 1 additions and 2 deletions
|
@ -27,6 +27,7 @@
|
|||
import errno
|
||||
|
||||
from moulinette.core import MoulinetteError
|
||||
from yunohost.domain import domain_list
|
||||
|
||||
def alias_list(auth):
|
||||
"""
|
||||
|
@ -49,8 +50,6 @@ def alias_create(auth, alias, mailforward):
|
|||
mailforward -- List of email to forward, separated by commas without space
|
||||
|
||||
"""
|
||||
from yunohost.domain import domain_list
|
||||
|
||||
_ensure_ldap_ou_is_created(auth)
|
||||
|
||||
# Validate uniqueness of alias and mail in LDAP
|
||||
|
|
Loading…
Add table
Reference in a new issue