--- a/common/mixins.py Tue Feb 17 20:56:45 2009 +0100
+++ b/common/mixins.py Tue Feb 17 21:29:58 2009 +0100
@@ -9,7 +9,7 @@
from logilab.common.decorators import cached
-from cubicweb.common.selectors import implement_interface
+from cubicweb.selectors import implements
from cubicweb.interfaces import IWorkflowable, IEmailable, ITree
@@ -315,8 +315,7 @@
"""a recursive tree view"""
id = 'tree'
item_vid = 'treeitem'
- __selectors__ = (implement_interface,)
- accepts_interfaces = (ITree,)
+ __selectors__ = implements(ITree)
def call(self, done=None, **kwargs):
if done is None: