Show More
@@ -28,6 +28,7 b' import os' | |||
|
28 | 28 | import logging |
|
29 | 29 | import traceback |
|
30 | 30 | |
|
31 | from pylons import tmpl_context as c | |
|
31 | 32 | from pylons.i18n.translation import _ |
|
32 | 33 | |
|
33 | 34 | import rhodecode |
@@ -272,7 +273,8 b' class EmailNotificationModel(BaseModel):' | |||
|
272 | 273 | email_template = self._tmpl_lookup.get_template(base) |
|
273 | 274 | # translator and helpers inject |
|
274 | 275 | _kwargs = {'_': _, |
|
275 |
'h': h |
|
|
276 | 'h': h, | |
|
277 | 'c': c} | |
|
276 | 278 | _kwargs.update(kwargs) |
|
277 | 279 | log.debug('rendering tmpl %s with kwargs %s' % (base, _kwargs)) |
|
278 | 280 | return email_template.render(**_kwargs) |
General Comments 0
You need to be logged in to leave comments.
Login now