On Wed, 2010-11-24 at 10:01 -0800, Jeff Dairiki wrote: > I've just started work on a project using Pyramid (1.0a4). > So far Pyramid looks very, very nice. Thank you! > > I have a couple stupid questions. Here's the first one (the second > will be in a subsequent post.) > > (This one may actually be a bug report.) > > 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. > > What am I doing wrong?
Nothing. This is a genuine bug. I've put an issue here: https://github.com/Pylons/pyramid/issues/issue/47 Thanks for the report! - C -- 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.
