On 1/7/06, agreif <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have the following question related to hub.commit and hub.end:
>
> why does the hub.end() make a rollback?

Lee had it right: that's a safety net.

> is it necessary to end the hub after a commit?

In TurboGears 0.8, you should definitely call end() to move out of
that transaction. In TurboGears 0.9, the transaction is implicit...
you don't need to worry about begin or end.

Kevin

Reply via email to