[fix] Remove old ref to Journal

This commit is contained in:
ljf 2018-04-11 23:01:24 +02:00
parent 6c063112bf
commit b81d89f93a

View file

@ -44,6 +44,7 @@ from moulinette.utils.log import getActionLogger
from yunohost.service import service_log, _run_service_command from yunohost.service import service_log, _run_service_command
from yunohost.utils import packages from yunohost.utils import packages
from yunohost.log import is_unit_operation
logger = getActionLogger('yunohost.app') logger = getActionLogger('yunohost.app')
@ -838,7 +839,6 @@ def app_remove(auth, app):
""" """
from yunohost.hook import hook_exec, hook_remove, hook_callback from yunohost.hook import hook_exec, hook_remove, hook_callback
from yunohost.log import Journal
if not _is_installed(app): if not _is_installed(app):
raise MoulinetteError(errno.EINVAL, raise MoulinetteError(errno.EINVAL,