selector update
authorsylvain.thenault@logilab.fr
Mon, 12 Jan 2009 11:00:17 +0100
changeset 388 4e23b542f8ad
parent 387 dbe9997ffc7e
child 389 aa180daa2bd4
child 397 cf577e26f924
selector update
sobjects/notification.py
--- a/sobjects/notification.py	Mon Jan 12 10:57:51 2009 +0100
+++ b/sobjects/notification.py	Mon Jan 12 11:00:17 2009 +0100
@@ -21,7 +21,7 @@
 from cubicweb.common.view import EntityView
 from cubicweb.common.appobject import Component
 from cubicweb.common.registerers import accepts_registerer
-from cubicweb.common.selectors import accept_selector
+from cubicweb.common.selectors import accept
 from cubicweb.common.mail import format_mail
 
 from cubicweb.server.pool import PreCommitOperation
@@ -38,7 +38,7 @@
     """
     id = 'recipients_finder'
     __registerer__ = accepts_registerer
-    __selectors__ = (accept_selector,)
+    __selectors__ = (accept,)
     accepts = ('Any',)
     user_rql = ('Any X,E,A WHERE X is EUser, X in_state S, S name "activated",'
                 'X primary_email E, E address A')