[mod_python] feature request: psp templating returns html codeto calling script, not to browser.

Graham Dumpleton grahamd at dscpl.com.au
Thu May 19 05:26:58 EDT 2005


On 19/05/2005, at 5:41 PM, Wouter van Marle wrote:

>
>     try:
>         exec code in vars
>     except:
>         et, ev, etb = sys.exc_info()
>         raise et, ev, etb

The try/except block is actually redundant in this case, you can just 
say:

   exec code in vars

Graham



More information about the Mod_python mailing list