On Aug 12, 12:56 pm, Paul Johnston <[EMAIL PROTECTED]> wrote: > Hi, > > >I have some questions about sa_rwt. > > Sure. As far as I can tell, this function was originally knocked up very > quickly and has been refined as bug reports have appeared. There is > definitely a need for some new code, with more work put into the design. > TG 2.0 will have this as a separate middleware component. > > >If a transaction is rolled back and a redirect is issued, it doesn't > >look like it would catch InvalidRequestError. > > You're right. Feel free to submit a patch for this. There are about 7 > TG/SA bugs (1 major) that I am intending to look at, just been caught up > with some other work. OK. Will do. > > >Also, when catching InternalRedirect, what does "else: raise" > > If the commit was successful, it re-raises the InternalRedirect > exception. Have a look in the Python manuals to understand try/catch/else. I knew at least one of my questions would have an obvious answer. > > Paul
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

