mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Import and define logger in tools module
This commit is contained in:
parent
3e1fc78786
commit
b977f11eda
1 changed files with 4 additions and 0 deletions
4
tools.py
4
tools.py
|
@ -36,9 +36,13 @@ import apt
|
||||||
import apt.progress
|
import apt.progress
|
||||||
|
|
||||||
from moulinette.core import MoulinetteError
|
from moulinette.core import MoulinetteError
|
||||||
|
from moulinette.utils.log import getActionLogger
|
||||||
|
|
||||||
apps_setting_path= '/etc/yunohost/apps/'
|
apps_setting_path= '/etc/yunohost/apps/'
|
||||||
|
|
||||||
|
logger = getActionLogger('yunohost.tools')
|
||||||
|
|
||||||
|
|
||||||
def tools_ldapinit(auth):
|
def tools_ldapinit(auth):
|
||||||
"""
|
"""
|
||||||
YunoHost LDAP initialization
|
YunoHost LDAP initialization
|
||||||
|
|
Loading…
Add table
Reference in a new issue