common/entity.py
changeset 237 3df2e0ae2eba
parent 0 b97547f5f1fa
child 397 cf577e26f924
--- a/common/entity.py	Fri Dec 19 14:55:00 2008 +0100
+++ b/common/entity.py	Fri Dec 19 15:16:09 2008 +0100
@@ -17,7 +17,7 @@
 from cubicweb.rset import ResultSet
 from cubicweb.common.appobject import AppRsetObject
 from cubicweb.common.registerers import id_registerer
-from cubicweb.common.selectors import yes_selector
+from cubicweb.common.selectors import yes
 from cubicweb.common.uilib import printable_value, html_escape, soup2xhtml
 from cubicweb.common.mixins import MI_REL_TRIGGERS
 from cubicweb.common.mttransforms import ENGINE
@@ -218,7 +218,7 @@
     __metaclass__ = metaentity
     __registry__ = 'etypes'
     __registerer__ = id_registerer
-    __selectors__ = (yes_selector,)
+    __selectors__ = (yes,)
     widgets = {}
     id = None
     e_schema = None