sobjects/notification.py
branchtls-sprint
changeset 781 323656dd85a9
parent 761 6378cd66d69f
child 803 ab8d2282e738
--- a/sobjects/notification.py	Wed Feb 18 13:42:46 2009 +0100
+++ b/sobjects/notification.py	Wed Feb 18 13:43:56 2009 +0100
@@ -19,7 +19,7 @@
 from logilab.common.deprecation import class_renamed
 
 from cubicweb import RegistryException
-from cubicweb.selectors import implements
+from cubicweb.selectors import implements, yes
 from cubicweb.common.view import EntityView, Component
 from cubicweb.common.mail import format_mail
 
@@ -36,7 +36,7 @@
     email addresses specified in the configuration are used
     """
     id = 'recipients_finder'
-    __select__ = implements('Any')
+    __select__ = yes()
     user_rql = ('Any X,E,A WHERE X is EUser, X in_state S, S name "activated",'
                 'X primary_email E, E address A')