Пример #1
0
 def _notifyStatus(self, status):
     wrapper = _AbstractWrapper(status)
     tpl = self._abstract.getOwner().getNotifTplForAbstract(wrapper)
     if self._doNotify and tpl:
         n = EmailNotificator()
         self._abstract.notify(n, self._getUser())
Пример #2
0
 def _notifyStatus(self, status):
     wrapper = _AbstractWrapper(status)
     tpl = self._abstract.getOwner().getNotifTplForAbstract(wrapper)
     if self._doNotify and tpl:
         n = EmailNotificator()
         self._abstract.notify(n, self._getUser())