mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] One LOC less
This commit is contained in:
parent
0da0b07e19
commit
00b41a03b0
1 changed files with 1 additions and 2 deletions
|
@ -123,8 +123,7 @@ def alias_info(auth, alias):
|
|||
if not result:
|
||||
raise MoulinetteError(errno.EINVAL, m18n.n('alias_unknown'))
|
||||
|
||||
alias = result[0]
|
||||
return alias
|
||||
return result[0]
|
||||
|
||||
def _ensure_ldap_ou_is_created(auth):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue