server/hooksmanager.py
changeset 237 3df2e0ae2eba
parent 0 b97547f5f1fa
child 672 bfd01026ada8
--- a/server/hooksmanager.py	Fri Dec 19 14:55:00 2008 +0100
+++ b/server/hooksmanager.py	Fri Dec 19 15:16:09 2008 +0100
@@ -183,7 +183,7 @@
 from cubicweb.vregistry import autoselectors
 from cubicweb.common.appobject import AppObject
 from cubicweb.common.registerers import accepts_registerer, yes_registerer
-from cubicweb.common.selectors import yes_selector
+from cubicweb.common.selectors import yes
 
 class autoid(autoselectors):
     """metaclass to create an unique 'id' attribute on the class using it"""
@@ -196,7 +196,7 @@
     __metaclass__ = autoid
     __registry__ = 'hooks'
     __registerer__ = accepts_registerer
-    __selectors__ = (yes_selector,)
+    __selectors__ = (yes,)
     # set this in derivated classes
     events = None
     accepts = None