[web] Remove some unused imports in editforms
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 10 Jun 2016 13:21:31 +0200
changeset 11295 00d42916f238
parent 11294 cd1183a65ebb
child 11296 5153f6fd478e
[web] Remove some unused imports in editforms
web/views/editforms.py
--- a/web/views/editforms.py	Fri Jun 10 13:21:13 2016 +0200
+++ b/web/views/editforms.py	Fri Jun 10 13:21:31 2016 +0200
@@ -20,25 +20,21 @@
 """
 
 __docformat__ = "restructuredtext en"
-from cubicweb import _
 
 from copy import copy
 
 from six.moves import range
 
-from logilab.mtconverter import xml_escape
-from logilab.common.decorators import cached
 from logilab.common.registry import yes
 from logilab.common.deprecation import class_moved
 
+from cubicweb import _
 from cubicweb import tags
-from cubicweb.predicates import (match_kwargs, one_line_rset, non_final_entity,
-                                specified_etype_implements, is_instance)
+from cubicweb.predicates import (one_line_rset, non_final_entity,
+                                 specified_etype_implements, is_instance)
 from cubicweb.view import EntityView
-from cubicweb.schema import display_name
-from cubicweb.web import stdmsgs, eid_param, \
-     formfields as ff, formwidgets as fw
-from cubicweb.web.form import FormViewMixIn, FieldNotFound
+from cubicweb.web import stdmsgs, eid_param, formwidgets as fw
+from cubicweb.web.form import FormViewMixIn
 from cubicweb.web.views import uicfg, forms, reledit
 
 _pvdc = uicfg.primaryview_display_ctrl