entity.py
branchtls-sprint
changeset 717 54b873918b48
parent 714 39a2a6673171
child 902 e4de959c76af
--- a/entity.py	Tue Feb 17 23:08:21 2009 +0100
+++ b/entity.py	Tue Feb 17 23:09:31 2009 +0100
@@ -18,7 +18,6 @@
 from cubicweb.selectors import yes
 from cubicweb.appobject import AppRsetObject
 from cubicweb.schema import RQLVocabularyConstraint, RQLConstraint, bw_normalize_etype
-from cubicweb.common.registerers import id_registerer
 
 try:
     from cubicweb.common.uilib import printable_value, soup2xhtml
@@ -222,8 +221,7 @@
     """
     __metaclass__ = metaentity
     __registry__ = 'etypes'
-    __registerer__ = id_registerer
-    __selectors__ = (yes,)
+    __select__ = yes()
     widgets = {}
     id = None
     e_schema = None