On 12-Oct-07, at 9:09 PM, blaf wrote:

>
> app.internalerror = web.debugerror return None?
>
> Any ideas...

Yes, because web.debugerror prints the output instead of returning.
Till it is fixed, you can use

app.internalerror = web.djangoerror

This will work because, djangoerror returns the error string, which  
is used by debugerror.
This is one of the problems with print, it doesn't allow a function  
to be reused.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to