##// END OF EJS Templates
celery: use safe environ extraction. In few cases of executing tasks at non-pyramid level....
celery: use safe environ extraction. In few cases of executing tasks at non-pyramid level. e.g executed from hooks we cannot read environ properly. Without it our bootstrap code will still generate proper urls.

File last commit:

r2351:59272121 default
r2417:51f63062 default
Show More
plugins_base.mako
8 lines | 248 B | application/x-mako | MakoHtmlLexer
% for plugin, config in getattr(request.registry, 'rhodecode_plugins', {}).items():
<% tmpl = config['template_hooks'].get('plugin_init_template') %>
% if tmpl:
<%include file="${tmpl}" args="config=config"/>
% endif
% endfor