web/views/treeview.py
changeset 237 3df2e0ae2eba
parent 187 cae87ca76f02
child 431 18b4dd650ef8
--- a/web/views/treeview.py	Fri Dec 19 14:55:00 2008 +0100
+++ b/web/views/treeview.py	Fri Dec 19 15:16:09 2008 +0100
@@ -1,7 +1,7 @@
 from logilab.mtconverter import html_escape
 
 from cubicweb.interfaces import ITree
-from cubicweb.common.selectors import interface_selector, yes_selector
+from cubicweb.common.selectors import interface_selector, yes
 from cubicweb.common.view import EntityView
 
 from cubicweb.web.views.baseviews import OneLineView
@@ -85,9 +85,9 @@
     (each item should be exandable if it's not a tree leaf)
     """
     id = 'treeitemview'
-    # XXX append yes_selector to make sure we get an higher score than
+    # XXX append yes to make sure we get an higher score than
     #     the default treeitem view
-    __selectors__ = (interface_selector, yes_selector)
+    __selectors__ = (interface_selector, yes)
     accepts_interfaces = (ITree,)
     
     def cell_call(self, row, col, vid='oneline', parentvid='treeview'):