equal
deleted
inserted
replaced
220 class SupervisionMailOp(SendMailOp): |
220 class SupervisionMailOp(SendMailOp): |
221 """special send email operation which should be done only once for a bunch |
221 """special send email operation which should be done only once for a bunch |
222 of changes |
222 of changes |
223 """ |
223 """ |
224 def _get_view(self): |
224 def _get_view(self): |
225 return self.session.vreg.select('components', 'supervision_notif', |
225 return self.session.vreg['components'].select('supervision_notif', |
226 self.session) |
226 self.session) |
227 |
227 |
228 def _prepare_email(self): |
228 def _prepare_email(self): |
229 session = self.session |
229 session = self.session |
230 config = session.vreg.config |
230 config = session.vreg.config |
231 uinfo = {'email': config['sender-addr'], |
231 uinfo = {'email': config['sender-addr'], |