Ah, so not a string list in the Python sense at all. This is where a brief example would go a long way.
Thanks! 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 > <[email protected] <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 > > [email protected]<javascript:>. > > > To unsubscribe from this group, send email to > > [email protected] <javascript:>. > > For more options, visit this group at > > http://groups.google.com/group/pylons-discuss?hl=en. > -- 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/-/uJK3PjpYbOIJ. 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.
