On 9/26/06, aspineux <[EMAIL PROTECTED]> wrote:
>
> Ok
>
> So why no just return the object (replace the raise by a return)
>
> def redirect(redirect_path, redirect_params=None, **kw):
>     """Redirect (via cherrypy.HTTPRedirect)."""
>     return cherrypy.HTTPRedirect(
>                     url(tgpath=redirect_path, tgparams=redirect_params,
> **kw))
>
> That way the correct usage is now :
>
can you please open a ticket

if you can supply a patch or just tell files/line numbers so we can
look into it closely there may be a reason we are ommiting here.

> raise turbogear.redirect(url)
>
> as like used in tutorial and quickstart generated code.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to