Commit a2c9ee4a authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[pylint] fix detected name errors

parent ba2347050144
......@@ -21,6 +21,8 @@ framework itself.
__docformat__ = "restructuredtext en"
from logilab.mtconverter import TransformError
from cubicweb.view import EntityAdapter, implements_adapter_compat
from cubicweb.selectors import implements, relation_possible
from cubicweb.interfaces import IDownloadable
......
......@@ -401,6 +401,7 @@ def run(config, vreg=None, debug=None):
if sys.platform == 'win32':
raise ConfigurationError("Under windows, you must use the service management "
"commands (e.g : 'net start my_instance)'")
from logilab.common.daemon import daemonize
LOGGER.info('instance started in the background on %s', root_resource.base_url)
if daemonize(config['pid-file']):
return # child process
......
......@@ -25,6 +25,7 @@ from logilab.mtconverter import xml_escape
from cubicweb.selectors import yes
from cubicweb.appobject import AppObject
from cubicweb.mail import format_mail
from cubicweb.web import LOGGER, Redirect, RequestError
......
......@@ -25,7 +25,8 @@ import operator
from cubicweb.selectors import (implements, authenticated_user,
adaptable, match_form_params)
from cubicweb.view import EntityView
from cubicweb.web import stdmsgs, controller, action, form, formfields as ff
from cubicweb.web import (Redirect, stdmsgs, controller, action,
form, formfields as ff)
from cubicweb.web.formwidgets import CheckBox, TextInput, AjaxWidget, ImgButton
from cubicweb.web.views import forms, formrenderers
......
......@@ -21,6 +21,7 @@ plugin.
__docformat__ = "restructuredtext en"
from warnings import warn
from itertools import chain
from logilab.mtconverter import xml_escape
from logilab.common.decorators import cached
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment