mako icon indicating copy to clipboard operation
mako copied to clipboard

TGPlugin.render method doesn't support unicode template names

Open sqlalchemy-bot opened this issue 11 years ago • 1 comments

Migrated issue, originally created by Anonymous

Traceback (most recent call last):
  File "/Users/vm/ws/mako/test/test_tgplugin.py", line 48, in test_render
    assert result_lines(tl.render({}, template=u'/index.html')) == [
  File "/Users/vm/ws/mako/mako/ext/turbogears.py", line 57, in render
    return template.render(**info)
AttributeError: 'unicode' object has no attribute 'render'

Pull request: https://github.com/zzzeek/mako/pull/5

sqlalchemy-bot avatar Sep 17 '13 09:09 sqlalchemy-bot

Anonymous wrote:

Is there something else in the pull request I have to change?

sqlalchemy-bot avatar Oct 08 '13 15:10 sqlalchemy-bot