Re: [Zope-dev] when did transaction lose the ability to be usable as a context manager?
Chris Withers <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb,gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <[email protected]> |
On 06/02/2013 11:47, Wichert Akkerman wrote:
>
> You can also use the transaction manager directly instead of the bound methods transaction lifts out of it:
>
> import transaction
> with transaction.manager:
> pass
yeah, this is what I'll do.
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
For more information about ZODB, see http://zodb.org/
ZODB-Dev mailing list - [email protected]
https://mail.zope.org/mailman/listinfo/zodb-dev