On Sunday, October 7, 2012 11:29:17 PM UTC-4, Michael Merickel wrote:
> "individual import lines" is indicating support for something like
> mako.imports =
> import logging
> import some.other.module
> On Sun, Oct 7, 2012 at 7:42 PM, Hollister
> <a.holliste...@gmail.com <javascript:>> wrote:
> > Ok, so looking at the Pyramid-generated Mako template code, it just
> > literally outputs what's in that config setting, quotes, brackets and
> all.
> > So, the syntax has to be:
> > mako.imports = import logging
> > with multiple imports as
> > mako.imports = import logging, some.other.module
> > not
> > mako.imports = import logging, import some.other.module
> > Which I didn't infer from the documentation that reads "String list of
> > Python statements, typically individual “import” lines" (but maybe I
> just
> > didn't understand it correctly).
> > Thanks to Mike Bayer for pointing me in the right direction in replying
> to
> > my post on Mako.
> > https://groups.google.com/forum/#!topic/mako-discuss/RNUfqX12YHE
> > --
> > You received this message because you are subscribed to the Google
> Groups
> > "pylons-discuss" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/pylons-discuss/-/8AbXxhbNCTsJ.
> > To post to this group, send email to pylons-...@googlegroups.com<javascript:>.
> > To unsubscribe from this group, send email to
> > pylons-discus...@googlegroups.com <javascript:>.
> > For more options, visit this group at
> > http://groups.google.com/group/pylons-discuss?hl=en.