Mercurial > kallithea
changeset 2814:5acab31448d1 beta
fixed kwargs ->email_kwargs
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 06 Sep 2012 00:06:39 +0200 |
parents | 25b10f9d23b4 |
children | acc05c33cc0c |
files | rhodecode/model/comment.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/comment.py Thu Sep 06 00:03:29 2012 +0200 +++ b/rhodecode/model/comment.py Thu Sep 06 00:06:39 2012 +0200 @@ -169,13 +169,13 @@ mention_recipients = set(self._extract_mentions(body))\ .difference(recipients) if mention_recipients: - kwargs.update({'pr_mention': True}) + email_kwargs.update({'pr_mention': True}) subj = _('[Mention]') + ' ' + subj NotificationModel().create( created_by=user, subject=subj, body=body, recipients=mention_recipients, type_=notification_type, - email_kwargs=kwargs + email_kwargs=email_kwargs ) return comment