sobjects/notification.py
changeset 2577 7c9888114085
parent 2572 58556f9317c9
child 2650 18aec79ec3a3
equal deleted inserted replaced
2576:4ed80b85a22a 2577:7c9888114085
   131     all you have to do by default is :
   131     all you have to do by default is :
   132     * set id and accepts attributes to match desired events and entity types
   132     * set id and accepts attributes to match desired events and entity types
   133     * set a content attribute to define the content of the email (unless you
   133     * set a content attribute to define the content of the email (unless you
   134       override call)
   134       override call)
   135     """
   135     """
       
   136     # XXX refactor this class to work with len(rset) > 1
       
   137 
   136     msgid_timestamp = True
   138     msgid_timestamp = True
   137     # XXX refactor to work with len(rset) > 1
   139 
   138     def recipients(self):
   140     def recipients(self):
   139         finder = self.vreg.select('components', 'recipients_finder', self.req,
   141         finder = self.vreg.select('components', 'recipients_finder', self.req,
   140                                   rset=self.rset)
   142                                   rset=self.rset)
   141         return finder.recipients()
   143         return finder.recipients()
   142 
   144