Does this happen in production mode, or only in development.

Try turning off the automatic reloading stuff, and see if you get a
different result.

On Wed, Oct 1, 2008 at 3:08 PM, Jim <[EMAIL PROTECTED]> wrote:
>
> Hi, I wonder if anyone can help me it seems one of my form handlers is
> being called twice and I'm not sure why
> Basically I have whittled it down into
>    @expose()
>    def admin(self):
>        return "Hello World!"
>  @expose()
>    def GO(self):
>        log.debug('Called')
>        raise redirect("admin")
>
> Now "Called" appears in the log twice. At first I blamed error
> handling but taking out all decorators doesn't change it and printing
> out tg_erros shows it as None.
>
> Anyone have any ideas?
>
> Thanks,
> Jim
>
> >
>



-- 
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to