diff --git a/src/rougail/template.py b/src/rougail/template.py index 68044f01..de44625c 100644 --- a/src/rougail/template.py +++ b/src/rougail/template.py @@ -38,6 +38,7 @@ from tiramisu.error import PropertiesOptionError from .config import patch_dir from .error import FileNotFound, TemplateError, TemplateDisabled from .i18n import _ +from .utils import normalize_family log = logging.getLogger(__name__) @@ -120,8 +121,9 @@ class CheetahTemplate(ChtTemplate): """ ChtTemplate.__init__(self, file=filename, searchList=[context, eosfunc, {'is_defined' : IsDefined(context), - 'creole_client' : CreoleClient(config), - 'current_container':CreoleGet(current_container), + # 'creole_client' : CreoleClient(config), + # 'current_container':CreoleGet(current_container), + 'normalize_family': normalize_family, 'rougail_filename': destfilename }])