This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8500
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 450cf83108cba75ee1d0736dd05b4311677119ae
Author: Dave Brondsema <[email protected]>
AuthorDate: Thu Feb 16 15:44:52 2023 -0500

    [#8500] drop mako template support (unused for years)
---
 Allura/allura/config/app_cfg.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Allura/allura/config/app_cfg.py b/Allura/allura/config/app_cfg.py
index 89d3c1a88..ee4a74d65 100644
--- a/Allura/allura/config/app_cfg.py
+++ b/Allura/allura/config/app_cfg.py
@@ -41,7 +41,6 @@ from tg.configurator.components.helpers import 
HelpersConfigurationComponent
 from tg.configurator.components.dispatch import DispatchConfigurationComponent
 from tg.configurator.components.rendering import 
TemplateRenderingConfigurationComponent
 from tg.renderers.jinja import JinjaRenderer
-from tg.renderers.mako import MakoRenderer
 from tg.renderers.json import JSONRenderer
 
 import jinja2
@@ -81,7 +80,7 @@ class ForgeConfig(MinimalApplicationConfiguratorNoRegistry):
         self.update_blueprint({
             'package': allura,
             'root_controller': root_controller,  # optional override, 
otherwise default will be found in allura package
-            'renderers': ['json', 'mako', 'jinja'],
+            'renderers': ['json', 'jinja'],
             'default_renderer': 'jinja',
 
             # prevent dispatcher from striping extensions like '.io' from URLs
@@ -101,7 +100,6 @@ class 
AlluraTemplateConfig(TemplateRenderingConfigurationComponent):
     def on_bind(self, configurator: ForgeConfig):
         # no super, only register a few (other ones aren't a problem but are 
unnecessary, so this is optimal)
         self.register_engine(JSONRenderer)
-        self.register_engine(MakoRenderer)
         # this is *our* JinjaRenderer, not the default one
         self.register_engine(AlluraJinjaRenderer)
 

Reply via email to