diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-05-03 15:27:11 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-05-03 15:27:11 +0000 |
commit | ebbce747c8655b0647d82aee84310af4ec0e1a76 (patch) | |
tree | 99f42859500ba8b8bd6d4600cdc4c9bca182d791 /examples | |
parent | 75f32174754479fd26cf6f829577bbb9788a02c9 (diff) | |
download | mako-ebbce747c8655b0647d82aee84310af4ec0e1a76.tar.gz |
- CHANGES cleanup
- some functions on Context are now private:
_push_buffer(), _pop_buffer(),
caller_stack._push_frame(), caller_stack._pop_frame().
- implemented [ticket:76] inlining of context.write()
Diffstat (limited to 'examples')
-rw-r--r-- | examples/bench/basic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bench/basic.py b/examples/bench/basic.py index c603a26..84c4b11 100644 --- a/examples/bench/basic.py +++ b/examples/bench/basic.py @@ -65,7 +65,7 @@ def myghty(dirname, verbose=False): def mako(dirname, verbose=False): from mako.template import Template from mako.lookup import TemplateLookup - lookup = TemplateLookup(directories=[dirname], filesystem_checks=False) + lookup = TemplateLookup(directories=[dirname], filesystem_checks=False, disable_unicode=True) template = lookup.get_template('template.html') def render(): return template.render(title="Just a test", user="joe", list_items=[u'Number %d' % num for num in range(1,15)]) |