Mercurial > piecrust2
comparison piecrust/templating/inukshukengine.py @ 1013:6370ab74b2d5
internal: Don't profile the Inukshuk engine by default, duh.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 28 Nov 2017 21:27:57 -0800 |
parents | 576f7ebcd9c0 |
children |
comparison
equal
deleted
inserted
replaced
1012:576f7ebcd9c0 | 1013:6370ab74b2d5 |
---|---|
7 TemplateEngine, TemplatingError, TemplateNotFoundError) | 7 TemplateEngine, TemplatingError, TemplateNotFoundError) |
8 | 8 |
9 | 9 |
10 logger = logging.getLogger(__name__) | 10 logger = logging.getLogger(__name__) |
11 | 11 |
12 _profile = True | 12 _profile = False |
13 | 13 |
14 | 14 |
15 class InukshukTemplateEngine(TemplateEngine): | 15 class InukshukTemplateEngine(TemplateEngine): |
16 ENGINE_NAMES = ['inukshuk', 'inuk'] | 16 ENGINE_NAMES = ['inukshuk', 'inuk'] |
17 EXTENSIONS = ['html', 'inuk'] | 17 EXTENSIONS = ['html', 'inuk'] |