sobjects/supervising.py
branchtls-sprint
changeset 661 4f61eb8a96b7
parent 655 ca3c4992c7d1
child 684 ddeab9691381
--- a/sobjects/supervising.py	Tue Feb 17 14:28:14 2009 +0100
+++ b/sobjects/supervising.py	Tue Feb 17 14:45:54 2009 +0100
@@ -8,7 +8,7 @@
 __docformat__ = "restructuredtext en"
 
 from cubicweb import UnknownEid
-from cubicweb.common.appobject import ComponentMixIn
+from cubicweb.common.appobject import Component
 from cubicweb.common.view import StartupView
 from cubicweb.common.mail import format_mail
 from cubicweb.server.hooksmanager import Hook
@@ -138,9 +138,10 @@
             yield change
 
 
-class SupervisionEmailView(ComponentMixIn, StartupView):
+class SupervisionEmailView(Component):
     """view implementing the email API for data changes supervision notification
     """
+    __selectors__ = (none_rset,)
     id = 'supervision_notif'
 
     def recipients(self):