[views] Drop useless predicate
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 17 Mar 2017 07:55:11 +0100
changeset 2502 fb14664bb28e
parent 2501 1f8ac02bbb50
child 2503 55d886119a5a
[views] Drop useless predicate it's already in parent's selector.
cubicweb_seda/views/sedatree.py
--- a/cubicweb_seda/views/sedatree.py	Thu Mar 16 12:15:14 2017 +0100
+++ b/cubicweb_seda/views/sedatree.py	Fri Mar 17 07:55:11 2017 +0100
@@ -16,7 +16,7 @@
 """cubicweb-seda views for ArchiveUnit"""
 
 from cubicweb import _
-from cubicweb.predicates import adaptable, is_instance, one_line_rset
+from cubicweb.predicates import adaptable, is_instance
 from cubicweb.web import component
 
 from ..entities import simplified_profile, component_unit
@@ -27,7 +27,6 @@
     """Display the whole profile tree."""
     __regid__ = 'seda.tree'
     __select__ = (component.EntityCtxComponent.__select__
-                  & one_line_rset()
                   & adaptable('ITreeBase'))
     context = 'left'
     order = -1