On Wed, Nov 24, 2010 at 06:44:20PM -0500, Chris McDonough wrote:
> On Wed, 2010-11-24 at 10:01 -0800, Jeff Dairiki wrote:
> > 
> > I'm trying to get the mako.default_filters .ini file setting to work.
> > It doesn't seem to.
> > If, in my .ini file, I set
> > 
> >   mako.default_filters = h
> > 
> > then as soon as the app tries to render a mako template a "TypeError:
> > cannot concatenate 'str' and 'list' objects" is thrown (at
> > mako.codegen:632: "args = self.compiler.default_filters + args".)  It
> > seems that the config value is not being converted to a list.
> 
> This is now fixed on the trunk, I believe.

That was quick!  Thank you.  I've just done a quick test and it
seems to work.

On a related note, is there a good reason that the (new)
strict_undefined option is not passed on from the .ini file as well?

  http://www.makotemplates.org/docs/runtime.html#context-variables
  http://www.makotemplates.org/docs/usage.html#api-reference

Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to